diff options
Diffstat (limited to 'aqt/profiles.py')
-rw-r--r-- | aqt/profiles.py | 2 |
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" |