yes/no translations
Petr Pisar
petr.pisar at atlas.cz
Tue Oct 27 17:11:53 UTC 2020
On Tue, Oct 27, 2020 at 08:56:01AM -0400, Remco Rijnders wrote:
> So, I started mutt as follows:
>
> LANGUAGE=nl_NL mutt
>
> Which changed the language of mutt, but none of the other settings. So, locale
> yesexpr was the same as the one you show. After also setting LC_MESSAGES to
> nl_NL, it shows what I'd expect:
>
> LC_MESSAGES=nl_NL LANGUAGE=nl_NL locale yesexpr
> ^[+1jJyY]
>
Maybe you want to set LANG variable instead of LANGUAGE or LC_MESSAGES
separately. See locale(7) manual for explanation how localization works. There
is "locale" command that prints how the locale categories are inherited.
LANGAUGE is a gettext-only extension (not reported by the locale command) for
defining a list of languages to try until the first language providing a
translation is found. See "info gettext -n 'The LANGUAGE variable'" command
output for more details. It's documented, that LANG, or LC_ALL still must be
set.
It's probably not intuitive that LANGUAGE does not influence a localization
of the yes-no prompts.
-- Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-po/attachments/20201027/18ebad99/attachment.asc>
More information about the Mutt-po
mailing list