remove codeset to i18n

This commit is contained in:
Emmanuel Garette 2020-08-04 16:34:43 +02:00
parent 2f125cfc8c
commit c4572ec409

View file

@ -55,7 +55,8 @@ def get_translation() -> str:
trans = translation(domain=app_name,
localedir=translations_path,
languages=[user_locale],
codeset='UTF-8')
)
# codeset='UTF-8')
except FileNotFoundError:
log.debug('cannot found translation file for langage {} in localedir {}'.format(user_locale,
translations_path))