From 510c45d9f165649b10fb159878cef04e509b8413 Mon Sep 17 00:00:00 2001 From: vinckr Date: Tue, 28 Oct 2025 10:38:51 -0300 Subject: [PATCH 1/2] fix: update supported locales --- docs/account-experience/index.mdx | 102 +++++++++++++++++- .../guides/03_internationalization.mdx | 99 +++++++++++++++-- 2 files changed, 185 insertions(+), 16 deletions(-) diff --git a/docs/account-experience/index.mdx b/docs/account-experience/index.mdx index d24532535..8b189af5e 100644 --- a/docs/account-experience/index.mdx +++ b/docs/account-experience/index.mdx @@ -27,11 +27,103 @@ rather meant for debugging purposes, it can be disabled in the [Ory Console](htt ## Translations (i18n) & Message Customization -Currently, the account experience is available in 83 languages. For a full list of available languages please have a look at -[the source](https://github.com/ory/elements/tree/main/packages/elements-react/src/locales). If you want to add a new language or -fix some wording, please open a pull request in [ory/elements](https://github.com/ory/elements#internalization-i18n). To determine -the language to use, the Account Experience uses the `Accept-Language` header. If the language is not available, the fallback -language (English) is used. Custom translations are not supported at the moment, but please reach out if you need this feature. +The Ory Account Experience is available in 83 languages. + +
+Full list of supported languages + +- Afrikaans (`af`) +- Akan (`ak`) +- Amharic (`am`) +- Arabic (`ar`) +- Assamese (`as`) +- Azerbaijani (Latin) (`az`) +- Belarusian (`be`) +- Bulgarian (`bg`) +- Bamanankan (`bm`) +- Bangla (`bn`) +- Catalan (`ca`) +- Czech (`cs`) +- Danish (`da`) +- German (`de`) +- Greek (`el`) +- English (`en`) +- Spanish (`es`) +- Estonian (`et`) +- Persian (`fa`) +- Finnish (`fi`) +- French (`fr`) +- Gujarati (`gu`) +- Hausa (Latin) (`ha`) +- Hebrew (`he`) +- Hindi (`hi`) +- Croatian (`hr`) +- Hungarian (`hu`) +- Armenian (`hy`) +- Indonesian (`id`) +- Igbo (`ig`) +- Italian (`it`) +- Japanese (`ja`) +- Georgian (`ka`) +- Kazakh (`kk`) +- Khmer (`km`) +- Kannada (`kn`) +- Korean (`ko`) +- Central Kurdish (`ku`) +- Kyrgyz (`ky`) +- Lithuanian (`lt`) +- Latvian (`lv`) +- Macedonian (`mk`) +- Malayalam (`ml`) +- Mongolian (Cyrillic) (`mn`) +- Marathi (`mr`) +- Malay (`ms`) +- Burmese (`my`) +- Nepali (`ne`) +- Dutch (`nl`) +- Norwegian (Bokmal) (`no`) +- Odia (`or`) +- Punjabi (`pa`) +- Polish (`pl`) +- Pashto (`ps`) +- Portuguese (`pt`) +- Romanian (`ro`) +- Russian (`ru`) +- Sindhi (`sd`) +- Sinhala (`si`) +- Slovak (`sk`) +- Slovenian (`sl`) +- Somali (`so`) +- Albanian (`sq`) +- Serbian (Latin) (`sr`) +- Sundanese (`su`) +- Swedish (`sv`) +- Kiswahili (`sw`) +- Tamil (`ta`) +- Telugu (`te`) +- Tajik (Cyrillic) (`tg`) +- Thai (`th`) +- Turkmen (`tk`) +- Tagalog (`tl`) +- Turkish (`tr`) +- Uyghur (`ug`) +- Ukrainian (`uk`) +- Urdu (`ur`) +- Uzbek (Latin) (`uz`) +- Vietnamese (`vi`) +- Xhosa (`xh`) +- Yoruba (`yo`) +- Chinese (Simplified) (`zh`) +- Zulu (`zu`) + +
+ +The source is available in the +[GitHub repository of Ory Elements](https://github.com/ory/elements/tree/main/packages/elements-react/src/locales). + +To determine the language to use, the Account Experience uses the `Accept-Language` header. If the language isn't available, the +fallback language (English) is used. Custom translations are supported as well, use the edit button next to the language to +override the default translations. ## Custom Domains diff --git a/docs/elements/guides/03_internationalization.mdx b/docs/elements/guides/03_internationalization.mdx index 83ee10961..5a54a3494 100644 --- a/docs/elements/guides/03_internationalization.mdx +++ b/docs/elements/guides/03_internationalization.mdx @@ -18,22 +18,99 @@ messages. ## Set the default locale -By default, a set of translations is provided for the following locales: - -- English (`en`) +By default, a set of translations is provided for 83 languages: + +
+Full list of supported languages + +- Afrikaans (`af`) +- Akan (`ak`) +- Amharic (`am`) +- Arabic (`ar`) +- Assamese (`as`) +- Azerbaijani (Latin) (`az`) +- Belarusian (`be`) +- Bulgarian (`bg`) +- Bamanankan (`bm`) +- Bangla (`bn`) +- Catalan (`ca`) +- Czech (`cs`) +- Danish (`da`) - German (`de`) +- Greek (`el`) +- English (`en`) - Spanish (`es`) +- Estonian (`et`) +- Persian (`fa`) +- Finnish (`fi`) - French (`fr`) +- Gujarati (`gu`) +- Hausa (Latin) (`ha`) +- Hebrew (`he`) +- Hindi (`hi`) +- Croatian (`hr`) +- Hungarian (`hu`) +- Armenian (`hy`) +- Indonesian (`id`) +- Igbo (`ig`) - Italian (`it`) +- Japanese (`ja`) +- Georgian (`ka`) +- Kazakh (`kk`) +- Khmer (`km`) +- Kannada (`kn`) +- Korean (`ko`) +- Central Kurdish (`ku`) +- Kyrgyz (`ky`) +- Lithuanian (`lt`) +- Latvian (`lv`) +- Macedonian (`mk`) +- Malayalam (`ml`) +- Mongolian (Cyrillic) (`mn`) +- Marathi (`mr`) +- Malay (`ms`) +- Burmese (`my`) +- Nepali (`ne`) +- Dutch (`nl`) +- Norwegian (Bokmal) (`no`) +- Odia (`or`) +- Punjabi (`pa`) +- Polish (`pl`) +- Pashto (`ps`) +- Portuguese (`pt`) +- Romanian (`ro`) +- Russian (`ru`) +- Sindhi (`sd`) +- Sinhala (`si`) +- Slovak (`sk`) +- Slovenian (`sl`) +- Somali (`so`) +- Albanian (`sq`) +- Serbian (Latin) (`sr`) +- Sundanese (`su`) - Swedish (`sv`) - -:::note - -A full list is available in the -[GitHub repository of Ory Elements](https://github.com/ory/elements/tree/main/packages/elements-react/src/locales). Contributions -of new translations are welcome! - -::: +- Kiswahili (`sw`) +- Tamil (`ta`) +- Telugu (`te`) +- Tajik (Cyrillic) (`tg`) +- Thai (`th`) +- Turkmen (`tk`) +- Tagalog (`tl`) +- Turkish (`tr`) +- Uyghur (`ug`) +- Ukrainian (`uk`) +- Urdu (`ur`) +- Uzbek (Latin) (`uz`) +- Vietnamese (`vi`) +- Xhosa (`xh`) +- Yoruba (`yo`) +- Chinese (Simplified) (`zh`) +- Zulu (`zu`) + +
+ +The source is available in the +[GitHub repository of Ory Elements](https://github.com/ory/elements/tree/main/packages/elements-react/src/locales). To set the default locale for your application, see [the locale configuration section](./04_configuration.mdx#locale-i18n). From b89fa3f8d2e4510428db0ff412b670b109d107ea Mon Sep 17 00:00:00 2001 From: vinckr Date: Tue, 28 Oct 2025 11:08:43 -0300 Subject: [PATCH 2/2] chore: revert --- docs/account-experience/index.mdx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/account-experience/index.mdx b/docs/account-experience/index.mdx index 8b189af5e..c6dde4204 100644 --- a/docs/account-experience/index.mdx +++ b/docs/account-experience/index.mdx @@ -20,11 +20,6 @@ The Account Experience can be themed using the Ory Console. Head over to the [theming settings](https://console.ory.sh/projects/current/account-experience/theming). It is also possible to set a custom logo and favicon. -## Welcome Screen - -The Account Experience comes with a welcome screen that shows information about the current user's session. As this screen is -rather meant for debugging purposes, it can be disabled in the [Ory Console](https://console.ory.sh/projects/current/ui). - ## Translations (i18n) & Message Customization The Ory Account Experience is available in 83 languages.