[Top][All Lists]

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

Re: Mention Tcl ignore LANGUAGE too

From: Bruno Haible
Subject: Re: Mention Tcl ignore LANGUAGE too
Date: Fri, 05 Aug 2022 23:53:43 +0200

Hi Petter,

> I noticed this comment on
> <URL: https://www.gnu.org/software/gettext/manual/html_node/Tcl.html >:
>   automatic, uses LANG, but ignores LC_MESSAGES and LC_ALL
> I suggest to change it to this, to mention it also ignore the LANGUAGE
> environment variable:
>   automatic, uses LANG, but ignores LC_MESSAGES, LC_ALL and LANGUAGE.

The setlocale() function in C, and likewise its emulations/front-ends
in various other programming languages, ignore the LANGUAGE environment
variable. [1][2]

LANGUAGE is an extra environment variable, solely for the gettext facility.[3]

Therefore there is no point in mentioning LANGUAGE in that place.


[2] https://en.cppreference.com/w/c/locale/setlocale

reply via email to

[Prev in Thread] Current Thread [Next in Thread]