bug-gettext
[Top][All Lists]
Advanced

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

Re: How to make locale settings more robust


From: Bruno Haible
Subject: Re: How to make locale settings more robust
Date: Sat, 10 Jun 2023 09:28:32 +0200

Thanks for jumping in, Miguel.

Miguel Ángel Arruga Vivas wrote:
> Usually this is enough:
> 
>   unset LC_ALL
>   LANGUAGE="<locale>" <program> <args>...

Note: This does not work in all circumstances. More precisely, if the first
of the two environment values $LANG, $LC_MESSAGES that is non-empty is
'C' or 'POSIX', or if none of the values $LANG, $LC_MESSAGES is non-empty,
LANGUAGE has no effect.

Bruno

[2] 
https://www.gnu.org/software/gettext/manual/html_node/The-LANGUAGE-variable.html






reply via email to

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