summaryrefslogtreecommitdiffstats
path: root/language.py
diff options
context:
space:
mode:
Diffstat (limited to 'language.py')
-rw-r--r--language.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/language.py b/language.py
index 4685333ea..2698c199d 100644
--- a/language.py
+++ b/language.py
@@ -162,6 +162,10 @@ class InstallTimeLanguage:
self.setRuntimeDefaults(name)
lang = self.langNicks[name]
+ for (runtime, main) in self.runtimeLangs.items():
+ if main == lang:
+ lang = runtime
+
os.environ["LANG"] = lang
os.environ["LC_NUMERIC"] = 'C'
try: