Bug 82300

Summary: usermode should preserve LANGUAGE environment variable too
Product: [Retired] Red Hat Linux Reporter: Need Real Name <foka>
Component: usermodeAssignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: llch, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.77-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-20 13:32:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to preserve LANGUAGE environment variable none

Description Need Real Name 2003-01-21 03:30:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686 Thiz; en-US; rv:1.1) Gecko/20021127

Description of problem:
Besides preserving LANG, LC_ALL and LC_MESSAGE, it is important to preserve the
LANGUAGE environment variable too for proper support for some locales like zh_HK
in which LANGUAGE=zh_HK:zh_TW.  (There are hardly any zh_HK PO/MO files around,
so we often fallback to zh_TW.)

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Open any applications linked to consolehelper in the zh_HK.* locale, with
LANGUAGE=zh_HK:zh_TW, for example.


Actual Results:  You'll notice that it doesn't show Chinese, even if
LANGUAGE=zh_HK:zh_TW.

Additional info:

Comment 1 Need Real Name 2003-01-21 03:31:55 UTC
Created attachment 89452 [details]
Patch to preserve LANGUAGE environment variable

Hope you find this useful.  :-)

Comment 2 Jindrich Novy 2005-01-11 09:55:14 UTC
Thanks, the patch is now comitted.