Hi Robert, On 2011-08-26 09:32, Robert Ancell wrote: > - I'm happy to support this as a legacy interface for LightDM 1.0, > the issue is to do it in a way that does not conflict with more > advanced uses of setting LANG (e.g. if PAM was to set LANG which in > my opinion is the correct location to do it).
This sounds good to me. There is a reason why I have been quiet on this topic for a few weeks. :) I have recently moved around code for dealing with language settings, and now it's accountsservice that provides that functionality in Ubuntu. You can query accountsservice for both the current language and the available languages on the system. You also set a new language via accountsservice's SetLanguage method, and accountsservice takes care the bits and pieces behind the scenes. Actually it's not LANG that is set (since that variable is currently reserved for other localisation stuff such as date/time formats, default paper size, etc.), but basically lightdm does not need to know that. I'd say that what you need for a simple language chooser that play well with other interfaces is now in place. -- 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/803858 Title: No language chooser on login screen in LightDM Status in Light Display Manager: Triaged Status in “lightdm” package in Ubuntu: Triaged Bug description: LightDM doesn't appear to have a language selection choice in the Login screen, we need this to switch between Chinese and English for regular use, this feature is present in GDM, and we are really want to have it in LightDm as well, including correct setup of the zh_CN.utf-8 locale. To manage notifications about this bug go to: https://bugs.launchpad.net/lightdm/+bug/803858/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

