Typography rules by locale
Typography rules for 35 locales: 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, 35 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.
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
Input
Output
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 | 31 | Институт за български език (БАН); Официален правописен речник на българския език (2012) |
| ca | Catalan | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 37 | Institut d'Estudis Catalans; Ortografia catalana (2017); Manual d'estil |
| cs | Czech | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 21 | Ústav pro jazyk český AV ČR, Internetová jazyková příručka |
| da | Danish | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 35 | Dansk Sprognævn, Retskrivningsreglerne |
| de-CH | German (Switzerland) | dashes, hyphen, nbsp, quote-punctuation, quotes | 63 | Schweizerische Bundeskanzlei, Schreibweisungen |
| de-DE | German (Germany) | dashes, hyphen, nbsp, quote-punctuation, quotes | 106 | Duden, Rechtschreibregeln; DIN 5008 |
| el | Greek | apostrophe, dashes, ellipsis, hyphen, nbsp, quotes, spaces, symbols | 39 | Διοργανικό εγχειρίδιο σύνταξης κειμένων; Unicode Consortium |
| en-GB | English (United Kingdom) | dashes, ellipsis, hyphen, nbsp, quote-punctuation, quotes | 224 | University of Oxford Style Guide; The Chicago Manual of Style; BIPM |
| en-US | English (United States) | dashes, ellipsis, hyphen, nbsp, quote-punctuation, quotes | 546 | The Chicago Manual of Style; American Heritage Dictionary of the English Language; BIPM |
| es | Spanish | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 65 | RAE y ASALE, Diccionario panhispánico de dudas; BIPM |
| et | Estonian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 31 | Eesti Keele Instituut, Eesti keele õigekirja põhireeglid |
| fi | Finnish | dashes, ellipsis, hyphen, nbsp, quotes | 159 | Kotimaisten kielten keskus (Kotus), Kielitoimiston ohjepankki; BIPM |
| fr | French (France) | dashes, hyphen, nbsp, quotes | 130 | Imprimerie nationale; Jacques André; Office québécois de la langue française |
| fr-CA | French (Canada) | dashes, ellipsis, hyphen, nbsp, quotes | 42 | Office québécois de la langue française; Jacques André |
| hr | Croatian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 31 | Institut za hrvatski jezik i jezikoslovlje, Hrvatski pravopis |
| hu | Hungarian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 34 | Magyar Tudományos Akadémia; A magyar helyesírás szabályai, 12. kiadás (AkH12) |
| is | Icelandic | dashes, ellipsis, hyphen, nbsp, quote-punctuation, quotes, ranges | 33 | Árnastofnun; Ritreglur |
| it | Italian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 22 | Manuale interistituzionale di convenzioni redazionali; Accademia della Crusca; BIPM |
| lt | Lithuanian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 39 | A. Drukteinis (ed.), Lietuvių kalbos skyryba |
| lv | Latvian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 34 | Valsts valodas centrs, Tiesību aktu tulkošanas rokasgrāmata |
| nb | Norwegian Bokmål | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 36 | Språkrådet |
| nl | Dutch | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 19 | Nederlandse Taalunie, Taaladvies.net; Genootschap Onze Taal |
| nn | Norwegian Nynorsk | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 36 | Språkrådet |
| pl | Polish | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 20 | Słownik języka polskiego PWN; Główny Urząd Miar |
| pt-BR | Portuguese (Brazil) | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 21 | 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 | 21 | Código de Redação Interinstitucional; Acordo Ortográfico da Língua Portuguesa |
| ro | Romanian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 28 | Academia Română; Îndreptar ortografic, ortoepic, morfologic și de punctuație (ÎOOP6, 2024); DOOM3 |
| ru | Russian | dashes, ellipsis, hyphen, nbsp, quotes | 95 | Правила русской орфографии и пунктуации; Мильчин А. Э., Чельцова Л. К. |
| sk | Slovak | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 33 | Jazykovedný ústav Ľudovíta Štúra SAV, Pravidlá slovenského pravopisu |
| sl | Slovenian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 31 | SAZU / ZRC SAZU Inštitut za slovenski jezik Frana Ramovša, Slovenski pravopis 2001 |
| sq | Albanian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 30 | Akademia e Shkencave e Shqipërisë; Rregullat e pikësimit në gjuhën shqipe |
| sr | Serbian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 26 | Д. Кликовац, Српска интерпункција, Филолошки факултет Универзитета у Београду, 2024 |
| sv | Swedish | dashes, ellipsis, hyphen, nbsp, quotes | 156 | Språkrådet, Snabba skrivregler; BIPM |
| tr | Turkish | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 32 | Türk Dil Kurumu, Yazım Kuralları; Türk Dil Kurumu, Kısaltmalar Dizini |
| uk | Ukrainian | dashes, ellipsis, hyphen, nbsp, quotes, ranges | 20 | Український правопис (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>