Skip to content

Add Spanish translation - #72

Merged
dazacode merged 1 commit into
dazacode:mainfrom
0xSAW:feat/spanish-translation
Nov 29, 2026
Merged

dazacode merged 1 commit into
dazacode:mainfrom
0xSAW:feat/spanish-translation

Conversation

@0xSAW

@0xSAW 0xSAW commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

What this changes

  • Adds Spanish (es) language support across the UI and Rust launcher:
    • Registers es (Español) in src/i18n/locales.ts, src/i18n/index.tsx, src/dev/mock.ts, and src-tauri/src/i18n.rs (including unit tests for es, es-MX, and es_ES).
    • Translates all 7 UI namespaces in src/i18n/messages/es/ (including legal.ts with translationNote) and all 3 Rust backend catalogs in src-tauri/locales/es/.
    • Documents Spanish support and style/terminology guidelines in docs/I18N.md, CONTRIBUTING.md, CLAUDE.md, and README.md.

Why

To make VILauncher available in Spanish, following the i18n architecture and contribution guidelines in docs/I18N.md.

How it was tested

  • pnpm ci:check passes (tsc -b, vitest run, i18n:check, vite build, cargo test --locked)
  • cargo fmt --check and cargo clippy --all-targets report nothing (for Rust changes)
  • Tested in the app, or the browser mock, for UI changes (verified the Language selector, sidebar filter popover, and Settings › Disk space layout in Spanish)

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

- Register es (Español) in src/i18n/locales.ts, src/i18n/index.tsx, src/dev/mock.ts, and src-tauri/src/i18n.rs (including locale resolution tests).
- Translate all 7 UI message namespaces under src/i18n/messages/es/ (including the legal notice with translationNote) and all 3 Rust backend catalogs under src-tauri/locales/es/.
- Document Spanish support and translation style/glossary in docs/I18N.md, CONTRIBUTING.md, CLAUDE.md, and README.md.
@dazacode
dazacode merged commit 25392f6 into dazacode:main Nov 29, 2026
dazacode added a commit to Le-Maxime/vilauncher that referenced this pull request Nov 29, 2026
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 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