mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-28 11:36:33 +00:00
<!-- Please inform yourself about the contribution guidelines on submitting a PR here: https://github.com/zitadel/zitadel/blob/main/CONTRIBUTING.md#submit-a-pull-request-pr. Take note of how PR/commit titles should be written and replace the template texts in the sections below. Don't remove any of the sections. It is important that the commit history clearly shows what is changed and why. Important: By submitting a contribution you agree to the terms from our Licensing Policy as described here: https://github.com/zitadel/zitadel/blob/main/LICENSING.md#community-contributions. --> # Which Problems Are Solved - Japanese users cannot use the Login UI in their native language, as only other locales (English, German, Italian, Spanish, Polish, Chinese, Russian, Turkish) are currently supported - The Login UI language selection does not include Japanese as an option # How the Problems Are Solved - Updated the `LANGS` array in `apps/login/src/lib/i18n.ts` to include Japanese (`{ name: "日本語", code: "ja" }`) - Enables Japanese language selection in the Login UI through browser language detection or manual locale setting # Additional Changes - No additional changes were necessary as other components (Console, email notifications, common messages, Go templates) already have Japanese locale support (`ja.json`/`ja.yaml` files exist) # Additional Context - This contribution enhances ZITADEL's internationalization support for Japanese-speaking users - The translation follows the same structure and key naming conventions as existing locale files - Testing can be performed by setting browser language to Japanese or using `NEXT_LOCALE=ja` cookie Co-authored-by: Max Peintner <max@caos.ch>