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

Bug#299182: locales: value of LC_MESSAGES ignored by some applications



Package: locales
Version: 2.3.2.ds1-20
Severity: important
Tags: l10n

I want to use cz_CZ locale by default but I do not want application to
speak czech to me because it feels weird.

However, when I used the debconf to set LC_MESSAGES it entered the line

LC_MESSAGES=en_US

to /etc/environment. This setting does not have effect on vim, aptitude
and maybe others. Setting some nonsense value into LC_MESSAGES causes
the applications to default to english messages. The only application
that I was able to find to work correctly is bash. See example:

zbynek@alex:~$ afda
bash: afda: command not found
zbynek@alex:~$ set | grep LC_M
LC_MESSAGES=en_US
zbynek@alex:~$ less afdad
afdad: není souborem ani adresářem

Even 'less' does not work. So I suspect this to be a problem with
locales in general.


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

Versions of packages locales depends on:
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6 [glibc-2.3.2.ds1-20]  2.3.2.ds1-20 GNU C Library: Shared libraries an

-- debconf information:
* locales/default_environment_locale: cs_CZ
* locales/locales_to_be_generated: cs_CZ ISO-8859-2, cs_CZ.UTF-8 UTF-8, en_US ISO-8859-1, en_US.UTF-8 UTF-8



Reply to: