Bug 188024 - Default value of LANG variable does not get modified when language is changed in gdm
Summary: Default value of LANG variable does not get modified when language is change...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gdm
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Ray Strode [halfline]
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-05 13:39 UTC by Runa Bhattacharjee
Modified: 2013-03-04 02:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-06 02:04:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Runa Bhattacharjee 2006-04-05 13:39:34 UTC
Description of problem:

The default value of the LANG variable in /etc/sysconfig/i18n is en_US.UTF-8
although language selected in gdm is Bengali India (bn_IN.UTF-8). Note: The
installation was done via kickstart in en_US locale.

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

Spotted in RHEL4U3

How reproducible:


Steps to Reproduce:
1. Install RHEL4 using en_US locale
2. After installation, in gdm screen, choose Bengali India, set it as default
for the system and log-in.
3.cat /etc/sysconfig/i18n and spot the value of LANG
  
Actual results:

LANG=en_US.UTF-8

Expected results:

LANG=bn_IN.UTF-8


Additional info:
The installation was done via kickstart in en_US locale.

Comment 1 Jens Petersen 2006-04-06 02:04:27 UTC
Err, gdm language selection shouldn't change the system locale,
it is just to control the desktop locale of your X session.

Does "printenv LANG" give you "bn_IN.UTF-8" on your desktop?

Comment 2 Jens Petersen 2006-04-06 02:24:21 UTC
Just to clarify setting default means setting the default desktop locale
for the user logging in - not the system default locale: they are two
completely distinct and unrelated settings.

Comment 3 Runa Bhattacharjee 2006-04-07 04:01:57 UTC
The printenv LANG returns bn_IN.UTF-8.
In case of the system default locale not being set to bn_IN.UTF-8, the settings
in Firefox is not defaulting to Unicode, which is the default for indic locales.
Is this a bug and/or should I report it elsewhere?



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