Comment 11 for bug 864618

Revision history for this message
Martin Pitt (pitti) wrote : Re: UTF-8 locale no longer set

Oh, hang on, I think I thought about this all wrong. "en_GB" *is* a correct value, but not for $LANG, but for $LANGUAGE; What you select in control-center is a language, _not_ a locale. So lightdm should not assing the "Language" accountsservice property to $LANG, which is what is causing all this trouble, and will be even more wrong for languages without a country specific dialect, i. e. all languages except English, Spanish, and Portugese.

So lightdm should either drop that set_language() call completely (I'm still convinced that this is the most correct and simplest solution), or change that to assing the "Language" property to $LANGUAGE, not $LANG.