summaryrefslogtreecommitdiffstats
path: root/language.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-31 22:37:02 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-31 22:37:02 +0000
commit834f912aec84f12e0c4a5619b3b1ed113af9df85 (patch)
tree3bb4d7b31a14b1cb60202a254bb7a4e5e7f66688 /language.py
parent7ef9a4cb1f3eebcb4911155231e6cfbe5c8462ff (diff)
downloadanaconda-834f912aec84f12e0c4a5619b3b1ed113af9df85.tar.gz
anaconda-834f912aec84f12e0c4a5619b3b1ed113af9df85.tar.xz
anaconda-834f912aec84f12e0c4a5619b3b1ed113af9df85.zip
set our language to be the runtime language for stage2 and not the lang nick. this fixes the nfs/cd cjk text mode being Bad (tm). ridiculous that such a small patch required so much time to track down (#82533)
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: