This call make translation fail in gen_config, the new way to use
gettext don't need to use this call.
Conflicts:
tiramisu/i18n.py
languages += DEFAULT_LANG
mo_location = LOCALE_DIR
-
-if sys.version_info[0] >= 3: # pragma: optional cover
- gettext.install(True, localedir=None)
-else: # pragma: optional cover
- gettext.install(True, localedir=None, unicode=1)
gettext.find(APP_NAME, mo_location)
gettext.textdomain(APP_NAME)
gettext.bind_textdomain_codeset(APP_NAME, "UTF-8")