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

Bug#591334: marked as done (libc6: LANGUAGE not taken into account unless LC_MESSAGES is set)



Your message dated Wed, 6 Jul 2011 07:54:14 +0200
with message-id <20110706055414.GD22060@hall.aurel32.net>
and subject line Re: Bug#591334: Processed: [bts-link] source package eglibc
has caused the Debian Bug report #591334,
regarding libc6: LANGUAGE not taken into account unless LC_MESSAGES is set
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
591334: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591334
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.11.2-2
Severity: normal

The LANGUAGE environment variable isn't taken into account for
translations, unless LC_MESSAGES is set. Here's an example:

ypig% unset LC_MESSAGES
ypig% LANGUAGE=fr_FR:fr cp
cp: missing file operand
Try `cp --help' for more information.
ypig% LANGUAGE=fr_FR:fr LC_MESSAGES=en_US.ISO8859-1 cp
cp: opérande fichier manquant
Saisissez « cp --help » pour plus d'informations.

Note that I've chosen to set LC_MESSAGES to English to show that
LANGUAGE has the precedence, as documented. The bug is that the
LC_MESSAGES environment variable must be set, even though its
language isn't used. The value of LC_MESSAGES has some importance,
though. With POSIX or C, I still get English messages:

ypig% LANGUAGE=fr_FR:fr LC_MESSAGES=POSIX cp          
cp: missing file operand
Try `cp --help' for more information.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libc-bin                      2.11.2-2   Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.4.4-7  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]         1.5.33     Debian configuration management sy
ii  glibc-doc                     2.11.2-2   Embedded GNU C Library: Documentat
ii  locales                       2.11.2-2   Embedded GNU C Library: National L

-- debconf information excluded



--- End Message ---
--- Begin Message ---
On Wed, Jul 06, 2011 at 03:14:17AM +0200, Vincent Lefevre wrote:
> On 2011-05-23 18:12:28 +0000, Debian Bug Tracking System wrote:
> > > tags 591334 + upstream wontfix
> > Bug #591334 [libc6] libc6: LANGUAGE not taken into account unless LC_MESSAGES is set
> > Added tag(s) wontfix.
> [...]
> 
> I agree with the reason given by upstream, but this is not the behavior
> described in the manual. So, I assume that this is a bug in the manual
> and I've reported bug 632795 against glibc-doc-reference on this point.
> 
> There are still potential problems due to the way it is implemented.
> One at least occurs under Debian, see bug 632798.
> 

Ok, then given the issues is now tracked in the other bugs, I am closing
this one.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net


--- End Message ---

Reply to: