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

Establish system for i18n #7

Closed
kaiec opened this issue Jun 5, 2021 · 1 comment
Closed

Establish system for i18n #7

kaiec opened this issue Jun 5, 2021 · 1 comment
Assignees
Labels
structure Affects development and/or project structure
Projects

Comments

@kaiec
Copy link
Contributor

kaiec commented Jun 5, 2021

We need full translations, not only of the API but also of all text printed to stdout so that we can give meaningful feedback where possible.

The addition and maintenance of further languages has to be as easy as possible. For the API translations, it is important that they work in editors with auto completion, so no dynamic generation of the functions, but a script that generates the api from translation files could be a good idea.

There are systems like gettext (included in Python) or modules like python-i18n, they could be worth another look, but currently I think a simple system using JSON files would be enough.

@kaiec kaiec added the structure Affects development and/or project structure label Jun 5, 2021
@kaiec kaiec added this to To do in MVP via automation Jun 5, 2021
@kaiec kaiec moved this from To do to In progress in MVP Jun 7, 2021
@kaiec kaiec self-assigned this Jun 7, 2021
@kaiec
Copy link
Contributor Author

kaiec commented Jun 8, 2021

Work in progress:

44ae8d0 Moving some files - kaiec
96edb73 Rewritten translation system - kaiec

kaiec added a commit that referenced this issue Jun 8, 2021
kaiec added a commit that referenced this issue Jun 8, 2021
kaiec added a commit that referenced this issue Jun 8, 2021
kaiec added a commit that referenced this issue Jun 9, 2021
kaiec added a commit that referenced this issue Jun 9, 2021
kaiec added a commit that referenced this issue Jun 9, 2021
kaiec added a commit that referenced this issue Jun 9, 2021
kaiec added a commit that referenced this issue Jun 10, 2021
@kaiec kaiec moved this from In progress to Done in MVP Jul 21, 2021
@kaiec kaiec closed this as completed Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
structure Affects development and/or project structure
Projects
MVP
Done
Development

No branches or pull requests

1 participant