Bug 589126 - I18N settings not correctly set for countries like Switzerland
Summary: I18N settings not correctly set for countries like Switzerland
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-05 12:58 UTC by Simon Matter
Modified: 2010-05-05 13:48 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-05-05 13:48:00 UTC
Target Upstream Version:

Attachments (Terms of Use)

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):

How reproducible:

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:

Expected results:

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).

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