Bug 84772 - redhat-config-language and LANGUAGE line in /etc/sysconfig/i18n
redhat-config-language and LANGUAGE line in /etc/sysconfig/i18n
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-language (Show other bugs)
9
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Brent Fox
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-20 23:59 EST by Yu Shao
Modified: 2007-03-27 00:01 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-21 15:39:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
language_backeng.py.diff (1.19 KB, patch)
2003-02-25 00:25 EST, Yu Shao
no flags Details | Diff

  None (edit)
Description Yu Shao 2003-02-20 23:59:17 EST
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):


How reproducible:
Always

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
    

Additional info:

if we always use LANGUAGE line, then translations will be mixed if we are in
other languages like Japanese or Korean.
Comment 1 Yu Shao 2003-02-21 00:44:14 EST
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
automatically.
Comment 2 Yu Shao 2003-02-23 18:07:28 EST
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).
Comment 3 Brent Fox 2003-02-24 18:32:32 EST
I don't think that there's time to fix this for GinGin.  :(
Comment 4 Yu Shao 2003-02-25 00:25:49 EST
Created attachment 90338 [details]
language_backeng.py.diff

Hi bfox, I tested this patch ok, if it is ok to you, I can apply it for you.
Comment 5 Brent Fox 2003-02-25 13:00:25 EST
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.
Comment 6 Yu Shao 2003-02-26 00:56:08 EST
>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
locales.
Comment 7 Brent Fox 2003-05-21 15:39:03 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.