V0.6 #852

Merged
Atheros1 merged 399 commits from v0.6 into master 2016-05-03 01:58:38 +02:00
Showing only changes of commit 92e3e62640 - Show all commits

View File

@ -106,6 +106,7 @@ def change_translation(locale):
lang = pythonlocale.normalize(l10n.getTranslationLanguage()) lang = pythonlocale.normalize(l10n.getTranslationLanguage())
try: try:
pythonlocale.setlocale(pythonlocale.LC_ALL, lang) pythonlocale.setlocale(pythonlocale.LC_ALL, lang)
l10n.encoding = pythonlocale.nl_langinfo(pythonlocale.CODESET)
except: except:
logger.error("Failed to set locale to %s", lang, exc_info=True) logger.error("Failed to set locale to %s", lang, exc_info=True)