diff --git a/gramps/gen/utils/grampslocale.py b/gramps/gen/utils/grampslocale.py index 76582c158..ced403c69 100644 --- a/gramps/gen/utils/grampslocale.py +++ b/gramps/gen/utils/grampslocale.py @@ -209,7 +209,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]