Repository navigation
i18n: Spanish interface translation (the Español option only localized formulas) - #242
Merged
Merged
Conversation
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
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 |
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.
What changes
Language::Eswas 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.rswith 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 thePage Layout|Orientation/Sheet Options|Viewcontexts are translated separately.Tests:
translations_are_unique_and_preserve_unknown_textnow also requires every label in Spanish, like the other languages, and checks a few Spanish labels.portuguese_interface_retains_its_canonical_formula_fallbackasserted that Spanish showedOrientationin English. It now expectsOrientación.How to check
cargo test -p gridcraft-ui-egui: all pass.cargo fmt.Models: Claude