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

Localization #128

Open
1 of 4 tasks
Maselkov opened this issue Aug 10, 2022 · 0 comments
Open
1 of 4 tasks

Localization #128

Maselkov opened this issue Aug 10, 2022 · 0 comments

Comments

@Maselkov
Copy link
Owner

Maselkov commented Aug 10, 2022

I've never done any l10n before, and especially not for this type of app, but this is the rough outline that I figured so far. Any help is appreciated.

  • Figure out the best way to wrestle gettext or equivalent into submission in this use case. Gettext seems to only really care about the system's locale, when in this case, it's the locale of the Interaction that we care about. Some wrapper around gettext perhaps, or something entirely custom? Maybe there's libraries for that? Need to research
  • Mark the necessary strings as translateable once a function is figured out with _()
  • Extract them with pybabel
  • Put the files up for translation, source the translations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant