Bug 82300 - usermode should preserve LANGUAGE environment variable too
usermode should preserve LANGUAGE environment variable too
Product: Red Hat Linux
Classification: Retired
Component: usermode (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
David Lawrence
Depends On:
  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:
Last Closed: 2005-01-20 08:32:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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:

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

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.