Package: debconf
Version: 1.4.30.13
Severity: minor

Hi!

I have following locale settings on my system:

LANG=sk_SK
LC_CTYPE="sk_SK"
LC_NUMERIC="sk_SK"
LC_TIME=C
LC_COLLATE=C
LC_MONETARY="sk_SK"
LC_MESSAGES=C
LC_PAPER="sk_SK"
LC_NAME="sk_SK"
LC_ADDRESS="sk_SK"
LC_TELEPHONE="sk_SK"
LC_MEASUREMENT="sk_SK"
LC_IDENTIFICATION="sk_SK"
LC_ALL=

Environment variables LANG, LC_TIME, LC_COLLATE and LC_MESSAGES are set.

Despite of LC_MESSAGES settings, debconf displays slovak templates (if
available).  However, buttons like "yes" and "no" are shown correctly, they
are not translated.  After setting LC_MESSAGES to sk_SK, those buttons have
slovak labels too.

Experiment with LANG set to C and LC_MESSAGES to sk_SK results in not
translated template and translated buttons (some characters not displayed
correctly, due to LC_CTYPE being C too).

Further experiments showed that debconf is probably using LC_CTYPE instead
of LC_MESSAGES to choose template langauge, which (I believe) is not
correct:

LANG=C LC_MESSAGES=sk_SK LC_CTYPE=sk_SK dpkg-reconfigure <pkg>
 -> slovak template and button labels

LANG=C LC_CTYPE=sk_SK dpkg-reconfigure <pkg>
 -> slovak template, english button labels

I also tried with sk_SK.ISO-8859-2 instead of sk_SK with same results.  So
this problem does not seem to be related to locale aliases problem
described in #232044.

HTH

th.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=sk_SK, LC_CTYPE=sk_SK (charmap=ISO-8859-2)

Versions of packages debconf depends on:
ii  debconf-i18n                  1.4.30.13  full internationalization support
ii  perl-base                     5.8.4-8    The Pathologically Eclectic Rubbis

-- debconf information:
* debconf/frontend: Dialog
* debconf/priority: medium



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to