Skip to content
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

Translate the App (i18n) #49

Open
maltfield opened this issue Dec 9, 2022 · 2 comments
Open

Translate the App (i18n) #49

maltfield opened this issue Dec 9, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@maltfield
Copy link
Member

This ticket will track the effort to add internationalization (i18n) to the BusKill app such that things like the "arm" button, tooltips, labels in the navigation drawer, settings/options names/descriptions are automatically changed to the system's locale or whatever language is defined in the BusKill settings.

IMHO, it's not so important to provide translations to our documentation, which can trivially be translated by the user with tools like Google Translate. The text in the app, however, can't just be copied & pasted into a translator. So i18n of the app takes priority over i18n of the docs.

@maltfield maltfield added enhancement New feature or request help wanted Extra attention is needed labels Dec 9, 2022
@maltfield
Copy link
Member Author

maltfield commented Dec 9, 2022

After English, I think the most-common langauge of our users is German. I welcome translations to any language that users want to contribute, but here's a list of languages in-order of mother tongue of most of our users to less of our users:

  1. English
  2. German
  3. Dutch
  4. Spanish
  5. French
  6. Japanese
  7. Czech
  8. Arabic
  9. Russian
  10. Chinese (Mandarin?)
  11. Portuguese
  12. Finnish
  13. Swedish
  14. Norwegian
  15. Korean
  16. Romanian
  17. Turkish
  18. Thai
  19. Greek
  20. Italian
  21. Polish
  22. Hungarian
  23. Indonesian
  24. Slovak
  25. Serbian
  26. Croatian
  27. Mongolian
  28. Lithuanian

Therefore, I think

  1. The first deliverable of this ticket would be to modify the app to actually support i18n through some sort of abstraction (using .po files or whatever is the "pythonic" approach here) to only English and German. After that, I think
  2. The next deliverable is to setup some sort of automated machine translation to all the other languages above (they can be refined later by a human, but machine translation is better than nothing). Ideally this would just be some script that takes the English strings and a set of destination languages and spits-out new translated strings for the given destination languages.

@maltfield
Copy link
Member Author

maltfield commented May 10, 2023

I'm actually wondering if it makes more sense to just automate translations at CI time

TODO: look into using apertium (or similar) for offline translations at build-time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant