Hello Gunnar, Gunnar Hjalmarsson [2010-10-04 8:38 -0000]: > language-selector sets $LANGUAGE for language, and $LANG for other > locales. That's why it's inconsistent that gdm sometimes uses $LANG > when dealing with the language to be used for message display.
gdm doesn't have such an elaborate locale/language configuration as the language-selector, it just as a simple locale selector. It simply doesn't support setting a list of language fallbacks for $LANGUAGE. It's not supposed to either, the main point is that you can start a desktop session in a different language. You can then fine-tune it with language-selector. Thus gdm is not really inconsistent, it just doesn't have feature parity with language-selector. Therefore it should not try to change your $LANGUAGE settings either. It should just clear it when it changes $LANG, so that $LANG actually becomes effective. > - As you pointed out in comment #24, the previous code didn't take into > account different syntax variants for setting and exporting $LANGUAGE. > Now the code for editing ~/.profile is safer. No, please let's not. gdm is _not_ a tool for setting $LANGUAGES. That's what language-selector is for. > - $LC_MESSAGES is set to take care of applications that don't recognize > $LANGUAGE. That should be fixed in language-selector, not gdm. gdm already sets $LANG, which firefox & friends do recognize. Thanks! Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- Set $LANGUAGE if the user picks a different locale in gdm, so that language-selector and gdm stop disagreeing https://bugs.launchpad.net/bugs/553162 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
