AndriesSHP/Communicator-Web_version-

Multilingual setup

khink opened this issue · 1 comments

khink commented

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')).

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