feat: add Russian locale (ru)#950
Open
glebkaitsme wants to merge 1 commit into
Open
Conversation
- 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%)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Russian locale (ru) — translation files, language selector, and validation.
Changes
src/renderer/src/locales/ru/common.json— 55% translated (1535/2765)src/renderer/src/locales/ru/settings.json— 96% translated (1311/1362)i18n.ts— set Russian as default language, fallback to Englishsettings-section-general.tsx— add "Русский" option in language dropdownInitialSetupDialog.tsx— add "Русский" button in first-run setupapp-ipc-schemas/settings.ts— add'ru'to locale Zod enumapp-settings-normalize.ts— preserve'ru'locale on normalizationNotes
npm run build— ✅ passesnpm run dev— ✅ confirmed workingValidation
npm run buildnpm run dev