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

Multilingual setup #14

Open
khink opened this issue Feb 4, 2019 · 1 comment
Open

Multilingual setup #14

khink opened this issue Feb 4, 2019 · 1 comment

Comments

@khink
Copy link
Contributor

khink commented Feb 4, 2019

Currently the Display_message() method takes 2 arguments: text_en and text_nl. It would be better to use gettext (https://docs.python.org/3/library/gettext.html). This allows you to display a translated string without worrying about available translations, for example: display_message(_('my_string_label')).

@AndriesSHP
Copy link
Owner

O.K. Could you make an initial set up?

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

2 participants