feat(i18n): add Russian (ru) language support#8827
feat(i18n): add Russian (ru) language support#8827directomfdirect-beep wants to merge 1 commit intomakeplane:developfrom
Conversation
- Add packages/i18n/src/locales/ru/translations.json with full translation of all 300+ keys covering UI, profile, security, themes, issues, projects, cycles, modules, notifications, and workspaces. - Register "ru" locale in SUPPORTED_LANGUAGES constant (language.ts). - Add dynamic import of ru translations in TranslationStore (store/index.ts). Closes: Russian language support request Made-with: Cursor
|
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR adds full Russian (ru) language support to
@plane/i18n.Changes
packages/i18n/src/locales/ru/translations.json— new file with 300+ translations covering:packages/i18n/src/constants/language.ts— added{ label: "Русский", value: "ru" }toSUPPORTED_LANGUAGESpackages/i18n/src/store/index.ts— added dynamic import ofrulocale inloadTranslations()Why
Russian is spoken by ~170M people and is the primary language of a major market. The browser
navigator.languagefor Russian users returns"ru", which the existinggetBrowserLanguage()logic already handles — it will auto-detect and apply the locale once the translation file is present.Testing
Made with Cursor