>>>>> "Markus" == Markus Amersdorfer <[EMAIL PROTECTED]> writes:
Markus> LyX seems to use LC_MESSAGES for the interface (speaking
Markus> English) correctly, but concerning the keybindings, it uses
Markus> the LANG value. Exporting LANG=C prior to launching LyX does
Markus> the trick to get back my beloved "ALT-p"... :)
The code which loads help files and bindings says:
// this comment is from intl/dcigettext.c. We try to mimick this
// behaviour here.
/* The highest priority value is the `LANGUAGE' environment
variable. But we don't use the value if the currently
selected locale is the C locale. This is a GNU extension. */
string const lc_all = GetEnv("LC_ALL");
string lang = GetEnv("LANGUAGE");
if (lang.empty() || lc_all == "C") {
lang = lc_all;
if (lang.empty()) {
lang = GetEnv("LANG");
}
}
This is code I added some time ago to try to mimic what gettext does.
Could you tell me what the real rule is? Did I get it wrong? Is it
that I should test explicitely for LC_MESSAGE?
Any help appreciated.
JMarc