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

Bug#591334: libc6: LANGUAGE not taken into account unless LC_MESSAGES is set



On Mon, Aug 02, 2010 at 03:30:31PM +0200, Vincent Lefevre wrote:
> It could be a documentation bug[*], but I'm not sure since Debian
> scripts assume that LANGUAGE can be used alone. For instance, the
> /etc/default/locale file generated by Debian contains:
> 
> #  File generated by update-locale
> #LANG="en_US.UTF-8"
> LANGUAGE="en_US:en"
> 
> [*] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311259
> 

It's most probably a documentation issue, given this behaviour is
actually wanted, according to this changelog entry:

| 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
| 
|         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
|         value is ignored if the selected locale is the C locale.

and this NEWS entry:

| Version 2.2.1
| 
| * The LANGUAGE environment variable is now ignored unless the locale is
|   changed from the default "C" locale.

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



Reply to: