Red Hat Bugzilla – Bug 84772
redhat-config-language and LANGUAGE line in /etc/sysconfig/i18n
Last modified: 2007-03-27 00:01:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
redhat-config-language should use "LANGUAGE=zh_CN.GB18030:zh_CN.GB2312:zh_CN"
for zh_CN.GB18030 locale, but for all other locales, do NOT use this line.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.using redhat-config-language to change language
2.if it is Simplified Chinese, use LANGUAGE line
3.if other languages, do NOT use LANGUAGE line
if we always use LANGUAGE line, then translations will be mixed if we are in
other languages like Japanese or Korean.
One point to add, If we select Simplified Chinese(zh_CN.GB18030 locale) as
default language in Anaconda, then Anaconda will add the LANGUAGE line
I upgrade the priority to high, casue if someone installed simplified chinese as
default, he will not be able to change to other languages, cause all menu
translations will be mixed(majority is Chinese).
I don't think that there's time to fix this for GinGin. :(
Created attachment 90338 [details]
Hi bfox, I tested this patch ok, if it is ok to you, I can apply it for you.
The tree was locked at 12:00 Noon today, so there's no way to fix this for GinGin.
I'm not sure about that patch...I don't like the idea of special casing
languages in the python code.
I also don't understand why the key has to change from "LANG=" to "LANGUAGE="
for only one language.
>The tree was locked at 12:00 Noon today, so there's no way to fix this for >GinGin.
>I'm not sure about that patch...I don't like the idea of special casing
>languages in the python code.
Yeah, I agree. But that is a "quick" fix...
>I also don't understand why the key has to change from "LANG=" to "LANGUAGE="
>for only one language.
LANG is not replaced by LANGUAGE, just zh_CN.GB18030 needs it, but not other
Should be fixed in redhat-config-language-1.0.5-1. I still say that special
casing this language is bad and seems to point to bigger encoding problems that
should be fixed instead of putting hacks into redhat-config-language and
anaconda to work around it.