remove codeset to i18n
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user