Hi Stéphane.

See my reply into the bug. The reporter is confused. AFAIK,
setlocale() ignores LANGUAGE.

Cheers,

Michael


On 17 February 2016 at 00:51, Stéphane Aulery <lk...@free.fr> wrote:
> Hi,
>
> It would be nice to have the manpage of setlocale updated to declare that the 
> env variable "LANGUAGE" will be read to get the language.
> It should also state that the variable LANGUAGE will be the first one (before 
> LC_ALL or LANG).
>
> Thanks.
> For the record, the bug #700213 describes a problem about that.
>
> [This comment is merged from Bug #872343, which is more or less a
> duplicate.]
>
> --
> You received this bug notification because you are subscribed to
> manpages in Ubuntu.
> Matching subscriptions: mk-manpages
> https://bugs.launchpad.net/bugs/311558
>
> Title:
>   $LANG and $LANGUAGE not documented in locale manual page
>
> Status in eglibc package in Ubuntu:
>   Triaged
> Status in manpages package in Ubuntu:
>   New
>
> Bug description:
>   Binary package hint: belocs-locales-bin
>
>   'locale' prints not only the values of LC_*, but also LANG and
>   LANGUAGE. These variables should be appropriately documented in the
>   manpage.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/311558/+subscriptions


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/311558

Title:
  $LANG and $LANGUAGE not documented in locale manual page

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/311558/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to