Typography rules by language
Typography rules for 24 languages and regions: quotes, dashes, spaces.
Every locale below is a data file with a normative source cited for each rule it sets, backed by fixtures the conformance suite runs on every change. Each locale has its own page with the quotation marks, dashes, ellipsis, no-break spaces, worked examples and the full list of sources.
The same sentence, 24 locales
Nobody agrees about quotation marks.
German lowers the opening quote. Swiss German turns it into guillemets pointing outward. French
puts a no-break space inside them (U+00A0) and a narrow one before
! ? ; (U+202F). Finnish and Swedish close with the same glyph they open with.
British English swaps the primary and secondary levels round. Every one of these is correct — in
exactly one place.
Rendered by the engine from the inputs shown, not typed by hand. Regenerate with
npx tsx brand/tools/gen_examples.ts.
Coverage table
Cited, not guessed.
| Locale | Name | Rules cited | Fixtures | Primary sources |
|---|---|---|---|---|
| bg | Bulgarian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 29 | Институт за български език (БАН); Официален правописен речник на българския език (2012) |
| hr | Croatian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 29 | Institut za hrvatski jezik i jezikoslovlje, Hrvatski pravopis |
| cs | Czech | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 19 | Ústav pro jazyk český AV ČR, Internetová jazyková příručka |
| nl | Dutch | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 16 | Nederlandse Taalunie, Taaladvies.net; Genootschap Onze Taal |
| en-GB | English (United Kingdom) | dashes, ellipsis, hyphen, nbsp, quotes | 165 | University of Oxford Style Guide; The Chicago Manual of Style; BIPM |
| en-US | English (United States) | dashes, ellipsis, hyphen, nbsp, quotes | 432 | The Chicago Manual of Style; American Heritage Dictionary of the English Language; BIPM |
| fi | Finnish | dashes, ellipsis, hyphen, nbsp, quotes | 157 | Kotimaisten kielten keskus (Kotus), Kielitoimiston ohjepankki; BIPM |
| fr-CA | French (Canada) | dashes, ellipsis, hyphen, nbsp, quotes | 40 | Office québécois de la langue française; Jacques André |
| fr | French (France) | dashes, hyphen, nbsp, quotes | 121 | Imprimerie nationale; Jacques André; Office québécois de la langue française |
| de-DE | German (Germany) | dashes, hyphen, nbsp, quotes | 90 | Duden, Rechtschreibregeln; DIN 5008 |
| de-CH | German (Switzerland) | dashes, hyphen, nbsp, quotes | 61 | Schweizerische Bundeskanzlei, Schreibweisungen |
| el | Greek | apostrophe, dashes, ellipsis, hyphen, nbsp, quotes, spaces, symbols | 29 | Διοργανικό εγχειρίδιο σύνταξης κειμένων; Unicode Consortium |
| hu | Hungarian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 30 | Magyar Tudományos Akadémia; A magyar helyesírás szabályai, 12. kiadás (AkH12) |
| it | Italian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 21 | Manuale interistituzionale di convenzioni redazionali; Accademia della Crusca; BIPM |
| pl | Polish | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 16 | Słownik języka polskiego PWN; Główny Urząd Miar |
| pt-BR | Portuguese (Brazil) | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 19 | Manual de Redação da Presidência da República; Acordo Ortográfico da Língua Portuguesa; BIPM |
| pt-PT | Portuguese (Portugal) | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 19 | Código de Redação Interinstitucional; Acordo Ortográfico da Língua Portuguesa |
| ro | Romanian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 27 | Academia Română; Îndreptar ortografic, ortoepic, morfologic și de punctuație (ÎOOP6, 2024); DOOM3 |
| ru | Russian | dashes, ellipsis, hyphen, nbsp, quotes | 89 | Правила русской орфографии и пунктуации; Мильчин А. Э., Чельцова Л. К. |
| sk | Slovak | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 31 | Jazykovedný ústav Ľudovíta Štúra SAV, Pravidlá slovenského pravopisu |
| es | Spanish | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 23 | RAE y ASALE, Diccionario panhispánico de dudas; BIPM |
| sv | Swedish | dashes, ellipsis, hyphen, nbsp, quotes | 154 | Språkrådet, Snabba skrivregler; BIPM |
| tr | Turkish | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 30 | Türk Dil Kurumu, Yazım Kuralları; Türk Dil Kurumu, Kısaltmalar Dizini |
| uk | Ukrainian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 18 | Український правопис (2019) |
Locale count and citations read directly from spec/locales/; fixture totals from
spec/fixtures/. en and de are aliases resolving to
en-US and de-DE (spec/rules/locale-resolution.md).
The locale files, fixtures and citations are open source. To add a locale, see Contribute.
Already using polytypo? Add our badge
Two lines: a script tag and a span. No per-embed network call. Pick a language and a theme, then copy the code into your footer or credits. Embedding notes cover Content Security Policy. Sites with the badge are listed on Sites using polytypo.
<script async src="https://polytypo.dev/badge.js"></script>
<span data-polytypo-lang="en" data-polytypo-theme="light"></span>