Skip to content

feat: add Russian locale (ru)#950

Open
glebkaitsme wants to merge 1 commit into
KunAgent:masterfrom
glebkaitsme:feat/russian-locale
Open

feat: add Russian locale (ru)#950
glebkaitsme wants to merge 1 commit into
KunAgent:masterfrom
glebkaitsme:feat/russian-locale

Conversation

@glebkaitsme

Copy link
Copy Markdown

Summary

Add Russian locale (ru) — translation files, language selector, and validation.

Changes

  • Add src/renderer/src/locales/ru/common.json — 55% translated (1535/2765)
  • Add src/renderer/src/locales/ru/settings.json — 96% translated (1311/1362)
  • Update i18n.ts — set Russian as default language, fallback to English
  • Update settings-section-general.tsx — add "Русский" option in language dropdown
  • Update InitialSetupDialog.tsx — add "Русский" button in first-run setup
  • Update app-ipc-schemas/settings.ts — add 'ru' to locale Zod enum
  • Update app-settings-normalize.ts — preserve 'ru' locale on normalization

Notes

  • No unit tests added — changes are UI string and config only
  • npm run build — ✅ passes
  • npm run dev — ✅ confirmed working

Validation

  • I agree that this contribution is submitted under the CLA
  • npm run build
  • npm run dev

- Add ru/common.json and ru/settings.json translations
- Update i18n.ts with Russian as default language
- Add Russian option to language selector (settings + setup dialog)
- Add 'ru' to Zod validation schema in main process
- Preserve 'ru' locale in settings normalization

Settings: 1311/1362 translated (96%)
Common: 1535/2765 translated (55%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant