Bug 82300 - usermode should preserve LANGUAGE environment variable too
usermode should preserve LANGUAGE environment variable too
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: usermode (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-01-20 22:30 EST by Need Real Name
Modified: 2013-07-02 18:57 EDT (History)
2 users (show)

See Also:
Fixed In Version: 1.77-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-20 08:32:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to preserve LANGUAGE environment variable (1.42 KB, patch)
2003-01-20 22:31 EST, Need Real Name
no flags Details | Diff

  None (edit)
Description Need Real Name 2003-01-20 22:30:19 EST
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-20 22:31:55 EST
Created attachment 89452 [details]
Patch to preserve LANGUAGE environment variable

Hope you find this useful.  :-)
Comment 2 Jindrich Novy 2005-01-11 04:55:14 EST
Thanks, the patch is now comitted.

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