Comment 9 for bug 311558

Revision history for this message
Michael Kerrisk (mtk-manpages) wrote : Re: [Bug 311558] Re: $LANG and $LANGUAGE not documented in locale manual page

On 21 February 2016 at 13:56, Rolf Leggewie <email address hidden> wrote:
>> In reply to the initial report:
>>
>> > 'locale' prints not only the values of LC_*, but also LANG and LANGUAGE.
>>
>> Does it really do this on Ubuntu?
>
> Yes, it does.
>
> $ locale
> LANG=de_DE.UTF-8
> LANGUAGE="de:en:jp"
> LC_CTYPE="de_DE.UTF-8"
> LC_NUMERIC=de_DE.UTF-8
> LC_TIME=de_DE.UTF-8
> LC_COLLATE="de_DE.UTF-8"
> LC_MONETARY=de_DE.UTF-8
> LC_MESSAGES=C
> LC_PAPER=de_DE.UTF-8
> LC_NAME=de_DE.UTF-8
> LC_ADDRESS=de_DE.UTF-8
> LC_TELEPHONE=de_DE.UTF-8
> LC_MEASUREMENT=de_DE.UTF-8
> LC_IDENTIFICATION=de_DE.UTF-8
> LC_ALL=

Hmmm -- looking at the glibc sources, locale(1) does not appear to
natively do this. I wonder if this a Debiab/Ubuntu specific patch?