remove codeset to i18n
This commit is contained in:
parent
2f125cfc8c
commit
c4572ec409
|
@ -55,7 +55,8 @@ def get_translation() -> str:
|
||||||
trans = translation(domain=app_name,
|
trans = translation(domain=app_name,
|
||||||
localedir=translations_path,
|
localedir=translations_path,
|
||||||
languages=[user_locale],
|
languages=[user_locale],
|
||||||
codeset='UTF-8')
|
)
|
||||||
|
# codeset='UTF-8')
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
log.debug('cannot found translation file for langage {} in localedir {}'.format(user_locale,
|
log.debug('cannot found translation file for langage {} in localedir {}'.format(user_locale,
|
||||||
translations_path))
|
translations_path))
|
||||||
|
|
Loading…
Reference in New Issue