[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#498095: localization-config: configures kde wrong when called with de_DE.UTF-8 as language



Package: localization-config
Version: 1.03
Severity: important
Tags: patch

When calling update-locale-config like
"/usr/sbin/update-locale-config de_DE.UTF-8" KDE (as in
/etc/kde3/system.kdeglobals and /etc/kde3/kdm/kdmrc) is configured for
Belgium German settings ("be" as country and "de" as language).

The problem is in the way the locale is mapped to the KDE language.
"langmap.pl" is mapping "de_DE.UTF-8" (actually "de.*") to
'German (BE)'. As for de_DE… there is only "de_DE@euro" in the list and
the algorithm used to determine the entry strips the original local to
de.* and not "de_DE.*".

To make a log story short, the "de_DE@euro" key in langmap.pl may be
change to "de_DE.UTF-8" (as this is the locale you get when you install
Debian with Germany/German settings) or even better "de_DE". This way
the correct language is chosen and the algorithm to find the correct
entry does not need to be modified (this short before the lenny
release).

This bug is important for Debian Edu/Skolelinux there
localization-config is used during installation and new users would be
greeted in Dutch (which happens to be the primary language for Belgium
in KDE) and not German. So it would be nice if a fixed version could be
uploaded to sid and be requested to get a freeze exception for lenny.

Thanks in advance

Greetings

Daniel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages localization-config depends on:
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  libapt-pkg-perl               0.1.22+b1  Perl interface to libapt-pkg
ii  libconfig-inifiles-perl       2.39-5     Read .ini-style configuration file
ii  locales                       2.7-13     GNU C Library: National Language (
ii  perl-base                     5.10.0-13  minimal Perl system

localization-config recommends no packages.

localization-config suggests no packages.

-- debconf information:
  base-config/menu/localization-config-preinst:
  base-config/menu/localization-config-postinst:
Index: conffiles.d/common/langmap.pl
===================================================================
--- conffiles.d/common/langmap.pl	(revision 52332)
+++ conffiles.d/common/langmap.pl	(working copy)
@@ -14,7 +14,7 @@
     'da_DK'           => 'Danish',
     'de_BE@euro'      => 'German (BE)',
     'de_CH'           => 'Swiss (DE)',
-    'de_DE@euro'      => 'German (DE)',
+    'de_DE'           => 'German (DE)',
     'el_GR.UTF-8'     => 'Greek',
     'en_AU'           => 'Australian',
     'en_CA'           => 'Canadian',

Attachment: signature.asc
Description: Digital signature


Reply to: