I wrote a patch which makes accountsservice set the Language and
FormatsLocale properties automatically as soon as possible and updates
~/.pam_environment accordingly. I built a test version of
accountsservice in my PPA at

https://launchpad.net/~gunnarhj/+archive/ubuntu/accountsservice-test

@Ricardo:
Can you possibly test this version on the phone, and confirm that the fix 
addresses the issue?

@Sebastien:
This means that the behaviour (behind the scenes) changes for everyone. 
Language and regional formats are set for every user, based on 
/etc/default/locale, before the users have touched a GUI for the purpose. I 
made some code rearrangement to achieve it, and the most 'hackish' part is that 
it happens in the user_get_property() function.

I'd appreciate your eyes on it before uploading. Especially:
1. Do you see any drawback with enforcing user settings of language and
   regional formats?
2. Is this an acceptable way to do it?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1443178

Title:
  Accounts Service always relies on language fallback if never set by
  the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1443178/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to