Skip to content

i18n: Spanish interface translation (the Español option only localized formulas) - #242

Merged
h-a-n-a-s-h-i merged 1 commit into
storytold:mainfrom
diegozpy:i18n/es-interfaz
Oct 11, 2026
Merged

h-a-n-a-s-h-i merged 1 commit into
storytold:mainfrom
diegozpy:i18n/es-interfaz

Conversation

@diegozpy

@diegozpy diegozpy commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

What changes

Language::Es was already in the language switcher, and it switches formula input to Spanish (SUMA, decimal comma, semicolon arguments). Every interface label, though, still fell back to English (Self::En | Self::Es => None). Someone who picks Español gets an English ribbon.

This adds crates/ui-egui/src/i18n/es.rs with all 266 labels the other catalogs translate, in Excel's Spanish wording: Combinar y centrar, Ajustar texto, Inmovilizar paneles, Formato condicional, Autosuma, Relleno rápido, Análisis de hipótesis, Buscar objetivo, Rastrear precedentes, Administrador de nombres, Validación de datos… Two-line ribbon labels keep their single line break, and the Page Layout|Orientation / Sheet Options|View contexts are translated separately.

Tests:

  • translations_are_unique_and_preserve_unknown_text now also requires every label in Spanish, like the other languages, and checks a few Spanish labels.
  • portuguese_interface_retains_its_canonical_formula_fallback asserted that Spanish showed Orientation in English. It now expects Orientación.

How to check

  • cargo test -p gridcraft-ui-egui: all pass.
  • cargo fmt.
  • Native-speaker review. The translation was AI-assisted, following Excel's Spanish UI terminology. A review by a native speaker is welcome.

Models: Claude

Language::Es was registered and switches formulas to Spanish (SUMA, decimal comma, semicolon
arguments), but every interface label still fell back to English. This adds es.rs with all 266
labels in Excel's Spanish wording (Combinar y centrar, Inmovilizar paneles, Análisis de
hipótesis, Buscar objetivo, Rastrear precedentes…) and covers Spanish in the i18n tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012JC2QZ1Qc5KQMBswS38GKy
@h-a-n-a-s-h-i
h-a-n-a-s-h-i merged commit 4ea12e9 into storytold:main Oct 11, 2026
h-a-n-a-s-h-i pushed a commit that referenced this pull request Oct 11, 2026
…271); rustfmt after merges

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@echelon

echelon commented Oct 11, 2026

Copy link
Copy Markdown
Member

Merged — thank you for the contribution! (After merging alongside the German translation, I added the Spanish strings for the new Interface size option.)

If you haven't already, come join us on the ArtCraft Discord: https://discord.gg/artcraft

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.

3 participants