The problem is that accountsservice's Language property says "en_GB", which is wrong.
For oneiric, could we please drop all the `locale -a` stuff and asking accountsservice for the locale? accountsservice already writes the selected language into ~/.profile, so simply using that ought to be enough, and has worked fine with gdm as well.
So for applications which DO use accountsservice (language-selector) the locale is already set by ~/.profile. For derivatives without a langugage selector which don't use accountsservice, there is no point asking it either.
Note that for P onwards accountsservice will change ~/.pam_environment instead (bug 866062), but that's merely cleanup and not directly related to this bug.
The problem is that accountsservice's Language property says "en_GB", which is wrong.
For oneiric, could we please drop all the `locale -a` stuff and asking accountsservice for the locale? accountsservice already writes the selected language into ~/.profile, so simply using that ought to be enough, and has worked fine with gdm as well.
So for applications which DO use accountsservice (language-selector) the locale is already set by ~/.profile. For derivatives without a langugage selector which don't use accountsservice, there is no point asking it either.
Note that for P onwards accountsservice will change ~/.pam_environment instead (bug 866062), but that's merely cleanup and not directly related to this bug.