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

LanguageCode
Afrikaansaf
Arabicar
Basqueeu
Bengalibn
Bulgarianbg
Catalanca
Chinesezh
Chinese (Hong Kong)zh-hk
Chinese (Simplified)zh-cn
Chinese (Traditional)zh-tw
Croatianhr
Czechcs
Danishda
Dutchnl
Dutch (Belgium)nl-be
Englishen
English (Australia)en-au
English (Canada)en-ca
English (UK)en-gb
English (US)en-us
Estonianet
Finnishfi
Frenchfr
French (Canada)fr-ca
French (France)fr-fr
Galiciangl
Germande
German (Austria)de-at
German (Germany)de-de
German (Switzerland)de-ch
Greekel
Hebrewhe
Hindihi
Hungarianhu
Icelandicis
Indonesianid
Italianit
Japaneseja
Koreanko
Latvianlv
Lithuanianlt
Malayms
Norwegianno
Norwegian Bokmålnb
Norwegian Nynorsknn
Persianfa
Polishpl
Portuguesept
Portuguese (Brazil)pt-br
Portuguese (Portugal)pt-pt
Romanianro
Russianru
Serbiansr
Slovaksk
Sloveniansl
Spanishes
Spanish (Argentina)es-ar
Spanish (Mexico)es-mx
Spanish (Spain)es-es
Swahilisw
Swedishsv
Tagalogtl
Tamilta
Thaith
Turkishtr
Ukrainianuk
Vietnamesevi

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.

Previous
Supported frameworks