feat(i18n): add Russian language support#765
Open
AlexZander85 wants to merge 1 commit intonextlevelbuilder:devfrom
Open
feat(i18n): add Russian language support#765AlexZander85 wants to merge 1 commit intonextlevelbuilder:devfrom
AlexZander85 wants to merge 1 commit intonextlevelbuilder:devfrom
Conversation
- Add Russian (ru) locale to web UI (35 JSON files, 3921 keys) - Add Russian locale to desktop UI (15 JSON files) - Add Russian locale to backend (186 message keys) - Update i18n.go: LocaleRU constant, IsSupported, Normalize - Update web/desktop index.ts: ru imports, resources, language detection - Update constants.ts: add 'ru' to SUPPORTED_LANGUAGES/LANGUAGES
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 (ru) language localization to GoClaw: Web UI (35 files, ~3,921 keys), Desktop UI (15 files), and Backend message catalog (186 keys).
Type
Feature
Target Branch
dev
Checklist
go build ./... passes
go build -tags sqliteonly ./... passes (if Go changes)
go vet ./... passes
Tests pass: go test -race ./...
Web UI builds: cd ui/web && pnpm build (if UI changes)
No hardcoded secrets or credentials
SQL queries use parameterized $1, $2 (no string concat)
New user-facing strings added to all 3 locales (en/vi/zh) — N/A (translations only, no new strings)
Migration version bumped in internal/upgrade/version.go (if new migration) — N/A (no DB changes)
Test Plan
All 56 locale files validated as correct JSON
Language detection follows existing patterns (ru prefix → ru, fallback vi)
Backend catalog follows established catalog_*.go pattern