Reference
Supported languages
TolkBot translates between any two of the languages below. The list is the one the dashboard's Add a language dialog offers, built from TolkBot's own code each time these docs are published.
How codes are matched
A language is written as a language code, with a region when it matters: pt is Portuguese, pt-br Portuguese as written in Brazil. Your files can spell a code any of the usual ways. pt-BR, pt_BR and ptBR are all pt-br, and TolkBot writes new files with the spelling your existing files use.
A glossary term for a language applies to its regions as well: a pt term applies to a pt-br project, never the other way round. no and nb are the same language, and nn (Nynorsk) is its own. See Context.
Plural forms follow the language: see Placeholders and plurals.
Languages
| Language | Code |
|---|---|
| Afrikaans | af |
| Arabic | ar |
| Basque | eu |
| Bengali | bn |
| Bulgarian | bg |
| Catalan | ca |
| Chinese | zh |
| Chinese (Hong Kong) | zh-hk |
| Chinese (Simplified) | zh-cn |
| Chinese (Traditional) | zh-tw |
| Croatian | hr |
| Czech | cs |
| Danish | da |
| Dutch | nl |
| Dutch (Belgium) | nl-be |
| English | en |
| English (Australia) | en-au |
| English (Canada) | en-ca |
| English (UK) | en-gb |
| English (US) | en-us |
| Estonian | et |
| Finnish | fi |
| French | fr |
| French (Canada) | fr-ca |
| French (France) | fr-fr |
| Galician | gl |
| German | de |
| German (Austria) | de-at |
| German (Germany) | de-de |
| German (Switzerland) | de-ch |
| Greek | el |
| Hebrew | he |
| Hindi | hi |
| Hungarian | hu |
| Icelandic | is |
| Indonesian | id |
| Italian | it |
| Japanese | ja |
| Korean | ko |
| Latvian | lv |
| Lithuanian | lt |
| Malay | ms |
| Norwegian | no |
| Norwegian Bokmål | nb |
| Norwegian Nynorsk | nn |
| Persian | fa |
| Polish | pl |
| Portuguese | pt |
| Portuguese (Brazil) | pt-br |
| Portuguese (Portugal) | pt-pt |
| Romanian | ro |
| Russian | ru |
| Serbian | sr |
| Slovak | sk |
| Slovenian | sl |
| Spanish | es |
| Spanish (Argentina) | es-ar |
| Spanish (Mexico) | es-mx |
| Spanish (Spain) | es-es |
| Swahili | sw |
| Swedish | sv |
| Tagalog | tl |
| Tamil | ta |
| Thai | th |
| Turkish | tr |
| Ukrainian | uk |
| Vietnamese | vi |
A language that isn't listed
The dashboard can set up only the languages above, even when your repository has a locale file for another one. Write to hello@tolkbot.ai with the language you need.