Skip to main content
This API accepts both a base language code (lang) and a more specific dialect code (dialect).
  • Use lang for the base language (for example en, es, fr, zh).
  • Use dialect when you want a specific regional variety of a language (for example US or UK English, Brazilian or European Portuguese). Without it, the language’s default dialect is used.
  • Standard locale codes such as de-AT, pt-PT or es-MX are accepted too: they are scored as the dialect listed for them below, and the response’s dialect shows that dialect. As dialect, a code of a supported language that is not listed (for example ar-EG) answers 400 invalid_dialect, because it may name a variety that is scored differently; as lang it is read as its language.
  • A lang that names a dialect (lang=pt-BR) is used as the dialect when no dialect is sent.

Languages

Dialects

Supported dialect codes:

English (en)

Greek (el)

Romanian (ro)

Italian (it)

Spanish (es)

Portuguese (pt)

French (fr)

German (de)

Dutch (nl)

Polish (pl)

Czech (cs)

Finnish (fi)

Swedish (sv)

Norwegian (no)

Danish (da)

Russian (ru)

Ukrainian (uk)

Turkish (tr)

Hungarian (hu)

Catalan (ca)

Lithuanian (lt)

Slovak (sk)

Croatian (hr)

Arabic (ar)

Hebrew (he)

Hindi (hi)

Bengali (bn)

Persian (fa)

Tamil (ta)

Telugu (te)

Japanese (ja)

Korean (ko)

Swahili (sw)

Vietnamese (vi)

Thai (th)

Mandarin Chinese (zh)

Standard locale codes

Standard locale codes are accepted as dialect and scored as the dialect below. The response’s dialect is the scored one (de-at → de). Codes are not case-sensitive, and _ may be used for - (de_AT).