Languages and right-to-left

End-user pages (hosted login, account portal, emails) are available in 30 languages. Three of them are written right to left: Arabic (ar), Persian (fa) and Hebrew (he). The dashboard and this documentation are available in 8 languages: Turkish, English, French, German, Korean, Japanese, Italian and Spanish.

How the language is chosen

Hosted pages pick the language from these sources in order. Each source is matched against the languages the page is translated into; if nothing matches, the next source is tried:

  1. The ui_locales parameter of the OIDC authorization request, as an ordered list (the first 10 entries).
  2. The browser's Accept-Language header.

If neither source matches, English (en) is used. Region tags fall back to the base language (de-AT to de). The values are only matched, never copied into the page.

The languages enabled for an environment are published as ui_locales_supported in the OpenID Provider metadata and as locales in the /fapi/v1/environment response, so your application can offer only those. Hosted pages do not yet narrow their choice to that list, and the environment's default language is not yet used as the fallback; until then the fallback is always English.

Not available yet (plan §70): a language selector that remembers the choice in an idp_locale cookie, and using the locale of the signed-in user. Until they ship, the language is chosen again on every request.

Right-to-left pages

Bidi control characters

Codes, dates and numbers

One-time codes and recovery codes are shown with ASCII digits in every language, because the user may type them on another device. The time of a security event in an email uses the CLDR date and time format of the email's language and the recipient's time zone (UTC when it is not known); a language without CLDR date data shows the time as YYYY-MM-DD HH:MM UTC.

Fonts for other scripts

The allowed font list includes Noto Sans families for Arabic, Hebrew, Japanese, Korean, Simplified Chinese, Thai and Devanagari. A Traditional Chinese family is not on the list yet (not verified). See Brand your login pages for fonts and tokens.