diff --git a/zenmap/zenmapCore/I18N.py b/zenmap/zenmapCore/I18N.py index 21b1233a0..608d4f9be 100644 --- a/zenmap/zenmapCore/I18N.py +++ b/zenmap/zenmapCore/I18N.py @@ -74,7 +74,7 @@ def get_locales(): locales = val.split(":") break try: - loc, enc = locale.getdefaultlocale() + loc, enc = locale.getlocale() if loc is not None: locales.append(loc) except ValueError: