(Assuming you have LC_*, LANG and LANGUAGE correctly exported)
Quoting locale(7):
LC_MESSAGES
changes the language messages are displayed in and how an
affirmative or negative answer looks like. The GNU C-library contains the
gettext(), ngettext(), and rpmatch() functions to ease the use
of these information. The GNU gettext family of functions also obey
the environment variable LANGUAGE.
Quoting gettext(3), which is referenced by locale(7):
If the LANGUAGE environment variable is set to a nonempty value, and the
locale is not the "C" locale, the value of LANGUAGE is assumed to
contain a colon separated list of locale names. The functions will
attempt to look up a translation of msgid in each of the locales in turn.
This is a GNU extension.
Simply speaking, for GNU gettext LANGUAGE takes precedence over LC_MESSAGES.
Your setup leads to first trying de_DE and de settings,
which generate valid german messages instead of your desired english messages.
I'm not seeing this as a bug with locales, so setting state of this bug
to invalid again.
** Changed in: belocs-locales-bin (Ubuntu)
Status: New => Invalid
--
LC_MESSAGES not honored
https://bugs.launchpad.net/bugs/190193
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs