Public bug reported: This is fallout from bug 864618: In that bug we disabled the set_language() call as it invalidly sets $LANG to the "Language" property of accountsservice, which cannot work because $LANG is a locale and "Language" is only a language name.
However, set_language() also sets the $LANG variable from ~/.dmrc, which we need for backwards compatibility and derivatives. So what should happen is that all the code which does the `locale -a` guesswork needs to be dropped, and only these parts remain which evaluate ~/.dmrc. Please see http://pad.ubuntu.com/locale-handling for details. ** Affects: lightdm (Ubuntu) Importance: High Assignee: Robert Ancell (robert-ancell) Status: Triaged ** Affects: lightdm (Ubuntu Oneiric) Importance: High Assignee: Robert Ancell (robert-ancell) Status: Triaged ** Also affects: lightdm (Ubuntu Oneiric) Importance: Undecided Status: New ** Changed in: lightdm (Ubuntu Oneiric) Importance: Undecided => High ** Changed in: lightdm (Ubuntu Oneiric) Status: New => Triaged ** Changed in: lightdm (Ubuntu Oneiric) Assignee: (unassigned) => Robert Ancell (robert-ancell) ** Changed in: lightdm (Ubuntu Oneiric) Milestone: None => oneiric-updates ** Description changed: This is fallout from bug 864618: In that bug we disabled the set_language() call as it invalidly sets $LANG to the "Language" property of accountsservice, which cannot work because $LANG is a locale and "Language" is only a language name. However, set_language() also sets the $LANG variable from ~/.dmrc, which we need for backwards compatibility and derivatives. So what should happen is that all the code which does the `locale -a` guesswork needs to be dropped, and only these parts remain which evaluate ~/.dmrc. + + Please see http://pad.ubuntu.com/locale-handling for details. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/868149 Title: Need to set $LANG from .dmrc for backwards compatibility Status in “lightdm” package in Ubuntu: Triaged Status in “lightdm” source package in Oneiric: Triaged Bug description: This is fallout from bug 864618: In that bug we disabled the set_language() call as it invalidly sets $LANG to the "Language" property of accountsservice, which cannot work because $LANG is a locale and "Language" is only a language name. However, set_language() also sets the $LANG variable from ~/.dmrc, which we need for backwards compatibility and derivatives. So what should happen is that all the code which does the `locale -a` guesswork needs to be dropped, and only these parts remain which evaluate ~/.dmrc. Please see http://pad.ubuntu.com/locale-handling for details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/868149/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp