> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Universal Login Internationalization

> Learn how add localization support to Auth0 Universal Login to match your application's locale settings.

## Universal Login localization

The Universal Login (Universal Login: Your application redirects to Universal Login, hosted on Auth0's Authorization Server, to verify a user's identity.) experience is localized to the following languages. Entries marked with an asterisk are read right to left.

| Language | Code |
| - | - |
| Albanian | `sq` |
| Amharic | `am` |
| Arabic\* | `ar` |
| Arabic (Egypt)\* | `ar-EG` |
| Arabic (Saudi Arabia)\* | `ar-SA` |
| Armenia | `hy` |
| Azerbaijani | `az` |
| Basque | `eu-ES` |
| Bengali | `bn` |
| Bosnian | `bs` |
| Bulgarian | `bg` |
| Catalan | `ca-ES` |
| Chinese - Hong Kong | `zh-HK` |
| Chinese - Simplified | `zh-CN` |
| Chinese - Traditional | `zh-TW` |
| Croatian | `hr` |
| Czech | `cs` |
| Danish | `da` |
| Dutch | `nl` |
| English | `en` |
| English - Canada | `en-CA` |
| Estonian | `et` |
| Farsi (Persian)\* | `fa` |
| Finnish | `fi` |
| French | `fr-FR` |
| French - Canada | `fr-CA` |
| Galician | `gl-ES` |
| Georgian | `ka` |
| German | `de` |
| Greek | `el` |
| Gujrati | `gu` |
| Hebrew\* | `he` |
| Hindi | `hi` |
| Hungarian | `hu` |
| Icelandic | `is` |
| Indonesian | `id` |
| Italian | `it` |
| Japanese | `ja` |
| Kannada | `kn` |
| Korean | `ko` |
| Latvian | `lv` |
| Lithuanian | `lt` |
| Macedonian | `mk` |
| Malay | `ms` |
| Malayalam | `ml` |
| Marathi | `mr` |
| Mongolian | `mn` |
| Montenegrine | `cnr` |
| Myanmar | `my` |
| Norwegian | `no` |
| Norwegian - Bokmål | `nb` |
| Norwegian - Nynorsk | `nn` |
| Polish | `pl` |
| Portuguese - Brazil | `pt-BR` |
| Portuguese - Portugal | `pt-PT` |
| Punjabi | `pa` |
| Romanian | `ro` |
| Russian | `ru` |
| Serbian | `sr` |
| Slovak | `sk` |
| Slovenian | `sl` |
| Somali | `so` |
| Spanish | `es` |
| Spanish - Argentina | `es-AR` |
| Spanish - Latin America | `es-419` |
| Spanish - Mexico | `es-MX` |
| Swahili | `sw` |
| Swedish | `sv` |
| Tagalog | `tl` |
| Tamazight | `zgh` |
| Tamil | `ta` |
| Telugu | `te` |
| Thai | `th` |
| Turkish | `tr` |
| Ukrainian | `uk` |
| Urdu\* | `ur` |
| Vietnamese | `vi` |
| Welsh | `cy` |

### Language selection

Auth0 selects the language to render the pages based on:

* The languages supported by Auth0, which are listed above
* The list of languages configured in the Auth0 Dashboard's [**Tenant Settings**](https://manage.auth0.com/#/tenant) section, where you can select the languages your tenant supports and select a default one. By default, the list has only English selected, but you can select the ones you need.
* The value of the `ui_locales` parameter sent to the [Authorization Request endpoint](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest), which can be used to constrain the language list for an application or session. You can provide a space-delimited list of locales. The first locale on the list must match the enabled locale in your tenant to reflect in the UI.
* The `Accept-Language` HTTP header sent by the browser, Auth0 renders the pages in this language if it is allowed by the settings above. If not, the pages render in the default language.

Use the Auth0 Management API (Management API: A product to allow customers to perform administrative tasks.) to make a `PATCH` call to the [Tenants endpoint](/docs/docs/api/management/v2/tenants/patch-settings) with the following body, replacing `he` with the language code you want to add:

```json lines theme={null}
{
  "enabled_locales": [
    "en","he"
  ]
}
```

After it is added, specify the language in the`ui_locales` query parameter of the login request.

You can also specify the enabled languages for the tenant via the Management API using the [Update Tenants endpoint](/docs/docs/api/management/v2/tenants/patch-settings). The default language is the first one in the list.

Using the Auth0 CLI? If you haven't already, [set up and authenticate your CLI session](/docs/docs/deploy-monitor/auth0-cli) before running this command.

### Right-to-left languages

> [!WARNING]
>
> Right-to-left language support is available in Early Access. To request this feature, [contact Auth0 Support](https://support.auth0.com/).  By using this feature, you agree to the applicable Free Trial terms in Okta’s [Master Subscription Agreement](https://www.okta.com/legal/). To learn more about Auth0's product release cycle, read [Product release stages](/docs/docs/troubleshoot/product-lifecycle/product-release-stages).

Right-to-left (RtL) language support allows your tenant to display Arabic (standard, Egyptian, and Saudi Arabian), Persian, Hebrew, and Urdu text. Tenants that use RtL text must be [WCAG 2.2 AA compliant](/docs/docs/authenticate/login/auth0-universal-login#accessibility), and if your tenant uses page templates, you must update the HTML tag to include the `dir` element.

```liquid lines theme={null}
{% assign resolved_dir = dir | default: "auto" %}
<html lang="{{locale}}" dir="{{resolved_dir}}">
```

### Limitations

* The `ui_locales` parameter can only be used in OAuth (OAuth 2.0: Authorization framework that defines authorization protocols and workflows.) flows, as it is not available with Security Assertion Markup Language (SAML) (OAuth 2.0: Authorization framework that defines authorization protocols and workflows.) or WS-Federation.
* The `ui_locales` parameter is not forwarded to upstream identity providers IdPs (Identity Provider (IdP): Service that stores and manages digital identities.). To learn more about passing parameters to IdPs, read [Pass Parameters to Identity Providers](/docs/docs/authenticate/identity-providers/pass-parameters-to-idps).
* It is not possible to localize the scopes in the Consent page.

### Known issues

* The Universal Login Page renders the HTML `lang` attribute for the language code `fr-FR` as `fr`.
* The Universal Login Page renders the HTML `lang` attribute for the language code `pt-PT` as `pt`.

## Classic Login localization

In the Classic Login experience, localization uses Auth0 JavaScript widgets for [login](/docs/docs/customize/internationalization-and-localization/lock-internationalization), the [password reset page](/docs/docs/customize/login-pages/classic-login/customize-password-reset-page) and [password policies](/docs/docs/customize/internationalization-and-localization/password-options-translation).

The [Multi-factor authentication (MFA) page](/docs/docs/secure/multi-factor-authentication/customize-mfa/customize-mfa-classic-login) by default uses the Auth0 MFA (Multi-factor authentication (MFA): User authentication process that uses a factor in addition to username and password such as a code via SMS.) Widget, which cannot be localized. You can create localized versions by using [guardian.js](https://github.com/auth0/auth0-guardian.js).

It is not possible to localize the [Consent](/docs/docs/customize/login-pages/customize-consent-prompts) page.

## Learn more

* [Customize Universal Login Page Templates](/docs/docs/customize/login-pages/universal-login/customize-templates)
* [Customize Classic Login Pages with Lock or SDK](/docs/docs/customize/login-pages/classic-login/customize-with-lock-sdk)
