summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aqt/profiles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/aqt/profiles.py b/aqt/profiles.py
index f12b311..323a55a 100644
--- a/aqt/profiles.py
+++ b/aqt/profiles.py
@@ -373,7 +373,7 @@ please see:
d.rejected.connect(lambda: True)
# default to the system language
try:
- (lang, enc) = locale.getdefaultlocale()
+ (lang, enc) = locale.getlocale(locale.LC_MESSAGES)
except:
# fails on osx
lang = "en"