Bug 188024

Summary: Default value of LANG variable does not get modified when language is changed in gdm
Product: Red Hat Enterprise Linux 4 Reporter: Runa Bhattacharjee <runab>
Component: gdmAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: ankit, eng-i18n-bugs
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-06 02:04:27 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:

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?