# General Translation Integrations: Locales URL: https://generaltranslation.com/en-US/docs/integrations/mintlify/reference/locales.mdx --- title: Locales description: Reference for the language codes Mintlify supports and how General Translation locales map onto them. Reference for Mintlify locale handling. --- # Locales Mintlify accepts a fixed set of language codes in its navigation. General Translation maps the locales you choose in the Dashboard onto those codes, and only locales that map to a supported Mintlify language can be used. ## Source and target locales [#source-target] - Your **default locale** is the language your docs are written in. It is the source for every translation. - Your **target locales** are the languages to translate into. Both the default locale and every target locale must map to a supported Mintlify language. A locale that cannot be mapped is rejected during setup rather than silently falling back. ## Supported Mintlify languages [#supported] Mintlify supports these language codes: | Code | Language | Code | Language | | --------- | --------------------- | ---- | ---------- | | `en` | English | `nl` | Dutch | | `zh` | Chinese | `sv` | Swedish | | `zh-Hans` | Chinese (Simplified) | `no` | Norwegian | | `zh-Hant` | Chinese (Traditional) | `lv` | Latvian | | `es` | Spanish | `uk` | Ukrainian | | `fr` | French | `vi` | Vietnamese | | `fr-CA` | French (Canada) | `id` | Indonesian | | `pt` | Portuguese | `pl` | Polish | | `pt-BR` | Portuguese (Brazil) | `cs` | Czech | | `de` | German | `ro` | Romanian | | `ja` | Japanese | `tr` | Turkish | | `ko` | Korean | `uz` | Uzbek | | `it` | Italian | `hi` | Hindi | | `ru` | Russian | `ar` | Arabic | | | | `he` | Hebrew | ## Locale mapping [#mapping] When you select a General Translation locale, it is normalized to the closest supported Mintlify code. Regional variants collapse to their base language unless Mintlify supports the variant directly. | General Translation locale | Mintlify code | | -------------------------- | ------------- | | `en-US`, `en-GB` | `en` | | `zh-CN` | `zh-Hans` | | `zh-TW`, `zh-HK` | `zh-Hant` | | `fr-FR`, `fr-BE` | `fr` | | `fr-CA` | `fr-CA` | | `pt-PT` | `pt` | | `pt-BR` | `pt-BR` | | `es-MX`, `es-ES` | `es` | | `de-AT`, `de-CH` | `de` | A locale that does not map to any supported Mintlify language is treated as invalid, so it cannot be selected as a source or target. To learn more about locale codes in General Translation, see [Understanding locale codes](/docs/platform/core/guides/locale-codes) and the [supported locales reference](/docs/platform/dashboard/reference/supported-locales).