Skip to content
Snippets Groups Projects
Commit 0bcd965b authored by Philipp Hörist's avatar Philipp Hörist Committed by Philipp Hörist
Browse files

Windows: Add Workaround for #10342

parent 64f206ea
No related branches found
No related tags found
No related merge requests found
...@@ -172,6 +172,9 @@ def ngettext(s_sing, s_plural, n, replace_sing=None, replace_plural=None): ...@@ -172,6 +172,9 @@ def ngettext(s_sing, s_plural, n, replace_sing=None, replace_plural=None):
# find the translation # find the translation
# Use LANGUAGE instead of LANG, LANG sets LC_ALL and thus # Use LANGUAGE instead of LANG, LANG sets LC_ALL and thus
# doesn't retain other region settings like LC_TIME # doesn't retain other region settings like LC_TIME
# See https://gitlab.gnome.org/GNOME/pygobject/-/issues/442
LANG = 'en'
os.environ['LANGUAGE'] = LANG os.environ['LANGUAGE'] = LANG
except Exception as error: except Exception as error:
print('Failed to determine default language', file=sys.stderr) print('Failed to determine default language', file=sys.stderr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment