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

Bug#299182: marked as done (locales: value of LC_MESSAGES ignored by some applications)



Your message dated Mon, 14 Mar 2005 23:37:26 +0900
with message-id <81u0ne47kp.wl@omega.webmasters.gr.jp>
and subject line Bug#299182: locales: value of LC_MESSAGES ignored by some applications
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Mar 2005 11:00:29 +0000
>From zwin@robotika.cz Sat Mar 12 03:00:29 2005
Return-path: <zwin@robotika.cz>
Received: from smtp1.kolej.mff.cuni.cz [195.113.24.4] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DA4M8-0002PX-00; Sat, 12 Mar 2005 03:00:28 -0800
X-Envelope-From: zwin@robotika.cz
Received: from [127.0.0.1] (zbynek@alex.kolej.mff.cuni.cz [195.113.26.114])
	by smtp1.kolej.mff.cuni.cz (8.13.3/8.13.3) with ESMTP id j2CB0M3D002839;
	Sat, 12 Mar 2005 12:00:23 +0100 (CET)
Message-Id: <[🔎] 200503121100.j2CB0M3D002839@smtp1.kolej.mff.cuni.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-2"
From: Zbynek Winkler <zwin@robotika.cz>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: locales: value of LC_MESSAGES ignored by some applications
X-Mailer: reportbug 3.8
Date: Sat, 12 Mar 2005 12:00:23 +0100
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by smtp1.kolej.mff.cuni.cz id j2CB0M3D002839
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

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=3Den_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=3Den_US
zbynek@alex:~$ less afdad
afdad: nen=ED souborem ani adres=E1=F8em

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=3Dcs_CZ, LC_CTYPE=3Dcs_CZ (charmap=3DISO-8859-2)

Versions of packages locales depends on:
ii  debconf                     1.4.30.11    Debian configuration managem=
ent sy
ii  libc6 [glibc-2.3.2.ds1-20]  2.3.2.ds1-20 GNU C Library: Shared librar=
ies 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, e=
n_US ISO-8859-1, en_US.UTF-8 UTF-8

---------------------------------------
Received: (at 299182-done) by bugs.debian.org; 14 Mar 2005 14:37:29 +0000
>From gotom@debian.or.jp Mon Mar 14 06:37:28 2005
Return-path: <gotom@debian.or.jp>
Received: from omega.webmasters.gr.jp (webmasters.gr.jp) [218.44.239.78] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DAqhD-0005p2-00; Mon, 14 Mar 2005 06:37:27 -0800
Received: from omega.webmasters.gr.jp (localhost [127.0.0.1])
	by webmasters.gr.jp (Postfix) with ESMTP
	id E1CC6DEB79; Mon, 14 Mar 2005 23:37:26 +0900 (JST)
Date: Mon, 14 Mar 2005 23:37:26 +0900
Message-ID: <81u0ne47kp.wl@omega.webmasters.gr.jp>
From: GOTO Masanori <gotom@debian.or.jp>
To: Zbynek Winkler <zwin@robotika.cz>, 299182-done@bugs.debian.org
Subject: Re: Bug#299182: locales: value of LC_MESSAGES ignored by some applications
In-Reply-To: <[🔎] 200503121100.j2CB0M3D002839@smtp1.kolej.mff.cuni.cz>
References: <[🔎] 200503121100.j2CB0M3D002839@smtp1.kolej.mff.cuni.cz>
User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable
Delivered-To: 299182-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

At Sat, 12 Mar 2005 12:00:23 +0100,
Zbynek Winkler wrote:
> I want to use cz_CZ locale by default but I do not want application to
> speak czech to me because it feels weird.
>=20
> However, when I used the debconf to set LC_MESSAGES it entered the line
>=20
> LC_MESSAGES=3Den_US
>=20
> 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:
>=20
> zbynek@alex:~$ afda
> bash: afda: command not found
> zbynek@alex:~$ set | grep LC_M
> LC_MESSAGES=3Den_US

If you use LC_ALL, then such configuration will be altered by the
LC_ALL value.

> zbynek@alex:~$ less afdad
> afdad: nen=ED souborem ani adres=E1=F8em
>=20
> Even 'less' does not work. So I suspect this to be a problem with
> locales in general.

locales just write the selected locale into /etc/environment.
/etc/environment is used by pam - check /etc/pam.d/login.
I close this report.

Regards,
-- gotom



Reply to: