Repository navigation
Add Spanish (Latin America) translation and regional language codes - #44
Merged
dannycoulombe merged 1 commit intoNov 13, 2026
Merged
Conversation
Contributor
Author
|
Hey @dannycoulombe, do you think we could rename these keys to follow the This would make it easier to validate and manage the available language options consistently. WDYT? |
Collaborator
|
That makes perfect sense to me! Yes. |
dannycoulombe
marked this pull request as ready for review
November 13, 2026 12:53
Jairolaya12x
force-pushed
the
add-spanish-translation
branch
from
November 13, 2026 15:47
c0038bb to
4a40c6b
Compare
Jairolaya12x
force-pushed
the
add-spanish-translation
branch
from
November 13, 2026 16:02
4a40c6b to
bc0df21
Compare
Contributor
Author
|
Hey @dannycoulombe I added some changes on the structure of the i18n files, please let me know if this is ok, because I think that can affect the next PRs |
Collaborator
|
Good catch for the language code. I agree. |
Collaborator
100% |
Collaborator
|
Te agradezco mucho por este commit! Saludos desde Mexico! |
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
Adds a Spanish (Latin America) translation and makes every language code follow the same
language_REGIONformat.Spanish translation
assets/i18n/es_419.jsoncatalog covering every message in the English source.es,es-ES,es-MX,es-419, …).Consistent language codes
en→en_USandes→es_419, matching the existingzh_CNandpt_BR.en_US.jsonandes_419.json, and updatedbuild.rs, the web startup loader inindex.html, the web test scripts andAGENTS.md.enoresare converted to the new codes automatically, so no one loses their selected language.zh_CN.Language picker
settings.language_*→settings.language.*.zh_CNandpt_BRcatalogs.zh_CNandpt_BRcatalogs, which previously showed "Spanish".Tests
pt_BRones: label, format and plural switching, settings window, View menu, export dialog and presets, first-launch language persistence, 3D Mouse status, and history labels.supported_languages_include_spanishlanguage_picker_shows_native_names_in_translated_catalogsevery_language_code_uses_language_and_regionsaved_bare_language_codes_migrate_to_regional_codes