diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index 05ff284d9..d7cc1ccc1 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -208,7 +208,7 @@ class GrampsLocale(object): self.lang = loc[0] self.encoding = loc[1] else: - (lang, loc) = _check_mswin_locale(lang) + (lang, loc) = _check_mswin_locale(locale.getdefaultlocale()[0])) if lang: self.lang = lang self.encoding = loc[1]