-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add translations (e.g. Spanish) #57
Comments
I don't have the capacity to do this at the moment, but would be able to merge pull requests that others submit. So I think a call on Twitter would be great! |
I found how translations are managed. I poked around in Android Studio, and was double-clicking on all the source files to see what tools the IDE brings up to work on those files. When you double-click Full documentation is here: https://developer.android.com/studio/write/translations-editor but I find the translation editor, and even the raw files, reasonably straight-forward. Here's an example translated string (translated with Google Translate):
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="add_bathroom_unisex">Unisex</string>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="add_bathroom_unisex">Unisexo</string>
</resources> |
I think we have high-quality translations in the web repo that we can re-use, since many of the strings are verbatim from the website. (And we can of course give credit to the people who submitted the translations to the other repo.) |
Hi all, I'd like to add a PR for a Spanish translation. |
hi @thehme, That would be most welcome! To add the Spanish translation, you can add a file in this repo at Then, you can copy everything from Lastly, you can edit <string name="bathroom">bathroom</string> becomes: <string name="bathroom">baño</string> You may also want to look at the translations for the web app here for guidance: https://github.com/RefugeRestrooms/refugerestrooms/tree/develop/config/locales/es We will likely ask someone who has contributed translations to the web app if they can review your translations and perhaps give feedback. Thanks again for your interest in translating the app! P.S. If you are already using Android Studio, you might prefer to translate within Android Studio. Instructions for that are here: https://developer.android.com/studio/write/translations-editor |
Thanks for this @thehme! I'll try to test everything out this week and deploy |
PR is great - Tested it out in spanish on my device. Going to push live tonight. Thanks so much @thehme ! |
Hi all,
The web app is now translatable, and a Spanish translation is probably going to go live soon. There is also interest in seeing the mobile apps translated. If there is any way I or other contributors can help, that would be great.
(I think we have an ability to signal boost about this via Twitter to try to get more people looking into it if need be.)
The text was updated successfully, but these errors were encountered: