Repository navigation
Add Spanish (es) translation - #114
Merged
Merged
Conversation
Añade values-es en los tres módulos con recursos de texto (ui, android, desktop), incluyendo plurales y etiquetas de los selectores.
Suma AppLanguage.SPANISH, su mapeo de locale en Compose y la etiqueta en Ajustes.
Lxchoooo
marked this pull request as ready for review
November 2, 2026 04:01
Lxchoooo
force-pushed
the
feat/spanish-translation
branch
from
November 2, 2026 04:14
72eef24 to
fc9715f
Compare
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.
Translated the app into Spanish. I use TeleDrive with my phone in Spanish and the interface was all English, so I went through the strings and did it.
values-esin the three modules that carry resources:ui/src/commonMain/composeResources/values-es/strings.xmlandroid/src/main/res/values-es/strings.xml, plusplurals.xmldesktop/src/main/composeResources/values-es/strings.xmlI also added
AppLanguage.SPANISHso Spanish shows up under Settings → Language instead of only being picked up from the system locale. That needed the locale mapping inTeleDriveApp.kt, a branch in the language row ofSettingsSectionScreen.kt, and one more entry inlanguage_labelsfor each existing locale — that array is zipped withAppLanguage.entries, so they have to stay the same length.It's neutral Spanish rather than a regional variant, so it reads the same in Spain and in Latin America.
One thing I ran into that isn't related to this PR:
values-pt-rBR,values-ruandvalues-zh-rCNare each missingsettings_debug_log_empty,settings_share_debug_logandsettings_share_debug_log_subtitle, so those three show in English. I left them alone.