From c4572ec4090d351b5114e8e5d11a220d60f75891 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 4 Aug 2020 16:34:43 +0200 Subject: [PATCH] remove codeset to i18n --- tiramisu/i18n.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tiramisu/i18n.py b/tiramisu/i18n.py index f4d4e0e..d021f0e 100644 --- a/tiramisu/i18n.py +++ b/tiramisu/i18n.py @@ -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))