Skip to content

i18n: add Russian (ru) translation - #71

Merged
dazacode merged 2 commits into
dazacode:mainfrom
Le-Maxime:feat/ru-i18n
Nov 29, 2026
Merged

dazacode merged 2 commits into
dazacode:mainfrom
Le-Maxime:feat/ru-i18n

Conversation

@Le-Maxime

Copy link
Copy Markdown
Contributor

What this changes

Adds Russian (ru) localization for both the window UI and the Rust launcher backend, following docs/I18N.md:

  • Frontend (src/i18n/):
    • Added "ru" to LOCALES, "Русский" to LOCALE_NAMES, and ru tag matching in matchLocale (src/i18n/locales.ts).
    • Registered ru in CATALOGS (src/i18n/index.tsx).
    • Added src/i18n/messages/ru/ with translations for all 7 namespaces (common, shell, format, legal, dialogs, library, settings), including Russian plural forms (one, few, many, other).
  • Backend (src-tauri/):
    • Added Locale::Ru and ru/*.json entries to CATALOG_FILES in src-tauri/src/i18n.rs, plus unit tests for ru locale resolution.
    • Added src-tauri/locales/ru/{core,launcher,services}.json.

Why

Allows Russian-speaking users to use VILauncher in Russian (either automatically via system language detection or manually in Settings → Appearance → Language).

How it was tested

  • pnpm ci:check passes
  • cargo fmt --check and cargo clippy --all-targets report nothing (for Rust changes)
  • Tested in the app, or the browser mock, for UI changes (checked the built VILauncher.exe on Windows: sidebar, project import button, filter & sort popover, and Russian text fit without clipping)

Safety and data

  • No personal data, paths, tokens or game files are added
  • Anything that runs code, or changes files outside a project's folder, has a warning and is opt-in
  • Saves are not read, moved or deleted by this change

Licence

  • I agree my contribution is released under GPL-3.0-or-later

Le-Maxime and others added 2 commits November 29, 2026 02:19
Resolve conflicts with the Spanish translation (dazacode#72): keep both
locales, and list Russian in the docs and the browser mock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dazacode
dazacode merged commit 3e1c666 into dazacode:main Nov 29, 2026
@dazacode dazacode mentioned this pull request Nov 29, 2026
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.

2 participants