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: Anadon
Subject: Re: How to make locale settings more robust
Date: Sat, 10 Jun 2023 13:05:13 -0400

OK.  So there isn't a default fallback mechanism for variants of a
language by design.  Then how do I get these other variants to work at
all?  I have 529 translation files I need to check.

On Sat, Jun 10, 2023 at 3:28 AM Bruno Haible <bruno@clisp.org> wrote:
>
> 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]