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 4013bd31fd - Show all commits

View File

@ -110,6 +110,8 @@ def change_translation(locale):
pythonlocale.setlocale(pythonlocale.LC_ALL, lang)
if 'win32' not in sys.platform and 'win64' not in sys.platform:
l10n.encoding = pythonlocale.nl_langinfo(pythonlocale.CODESET)
else:
l10n.encoding = pythonlocale.getlocale()[1]
except:
logger.error("Failed to set locale to %s", lang, exc_info=True)