diff -urN system-config-language-1.3.5.old/src/language_backend.py system-config-language-1.3.5/src/language_backend.py
--- system-config-language-1.3.5.old/src/language_backend.py 2013-01-08 11:49:21.374718612 +0530
+++ system-config-language-1.3.5/src/language_backend.py 2013-01-08 11:50:15.643752629 +0530
@@ -33,13 +33,10 @@
class LanguageBackend:
def getInstalledLangs(self):
self.originalFile = None
- path = '/etc/sysconfig/i18n'
+ path = '/etc/locale.conf'
if os.access(path, os.R_OK) == 0:
return None, None
else:
- locale_path = '/etc/locale.conf'
- if os.access(locale_path, os.R_OK) != 0:
- path = locale_path
fd = open(path, "r")
self.originalFile = fd.readlines()
fd.close()