summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgui.py3
-rw-r--r--language.py5
2 files changed, 4 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index e7d790191..85fbbfc39 100755
--- a/gui.py
+++ b/gui.py
@@ -14,9 +14,6 @@
#
import os
-# msw says this is a good idea
-os.environ["LC_ALL"] = "C"
-
import GDK
import gdkpixbuf
import iutil
diff --git a/language.py b/language.py
index 4d712456c..c3e383ca2 100644
--- a/language.py
+++ b/language.py
@@ -26,7 +26,10 @@ def expandLangs(str):
class InstallTimeLanguage:
def __init__ (self):
- self.current = "en_US"
+ if os.environ.has_key("LANG"):
+ self.current = os.environ["LANG"]
+ else:
+ self.current = "en_US"
if os.access("lang-table", os.R_OK):
f = open("lang-table", "r")
elif os.access("/etc/lang-table", os.R_OK):