Bug 589126

Summary: I18N settings not correctly set for countries like Switzerland
Product: Red Hat Enterprise Linux 6 Reporter: Simon Matter <simon.matter>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-05 13:48:00 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 Simon Matter 2010-05-05 12:58:22 UTC
Description of problem:
The installer asks for the installation language and later for the keyboard mapping. I choose "German" first and then Swiss-German keyboard "sg-latin1". The system ends up with LANG="de_DE.UTF-8" which is clearly wrong.

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

How reproducible:
Always

Steps to Reproduce:
1. install using boot.iso with "askmethod" option
2. bhoose "German" as install language and Swiss-German keyboard "sg-latin1"
3. boot the newly installed system
  
Actual results:
/etc/grub shows:
kernel /vmlinuz-2.6.32-19.el6.i686 ro root=/dev/mapper/vg_client140-lv_root rd_LVM_LV=vg_client140/lv_root rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=de_DE.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=sg-latin1 rhgb quiet

/etc/sysconfig/i18n shows:
LANG="de_DE.UTF-8"

Expected results:
LANG="de_CH.UTF-8"

Additional info:
I have only tested de_CH but expect things to go wrong with many other languages as well, like fr_CH, it_CH, de_AT and so on.

Comment 2 Chris Lumens 2010-05-05 13:48:00 UTC
Yeah, anaconda does not support languages quite to that granularity.  We do support the main languages but do not support the local variants like that, nor are we going to be able to reliably synthesize the variant out of a keyboard and language setting.  That's extremely prone to failure and mistake.  Sorry.

As a workaround, it's quite easy for you to change those settings post-install via system-config-language (globally) or gdm (on a per-user basis).