Skip to content
Snippets Groups Projects
Commit 7b0cbb77 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix detecting language

parent 2410121d
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ def initialize_lang():
if default is None:
# LC_ALL=C
return
LANG = LANG[:2]
LANG = default[:2]
except (ValueError, locale.Error):
pass
......
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