Quick status report, after some more investigations: So the error clearly comes 
from gdm. It is in daemon/slave.c line 3708:
--- snip ---
        if G_UNLIKELY ( ! ve_string_empty (language) &&
                        ! ve_locale_exists (language)) {
                char *msg = g_strdup_printf (_("Language %s does not exist; 
using %s"),
                                             language, _("System default"));
                gdm_errorgui_error_box (d, GTK_MESSAGE_ERROR, msg);
                language = NULL;
                g_free (msg);
        }
--- snap ---
So gdm clearly things that the language set in language is not a valid locale. 
It checks it with  ve_locale_exists () by doing a setlocale (LC_MESSAGES, 
locale) call.
Setting LANGUAGE to en_US.UTF-8 totally fixes the issue. So either my initial 
guess was right and the language selector should set the LANGUAGE var to 
en_US.UTF-8 and not en_US:en or gdm is to blame for not stripping the variable 
as it should or wrongly checking with the setlocale () call. 

Anybody has some clues about the legal values of LANGUAGE?

I will investigate some more where the language variable is set from.

-- 
Language en_US does not exist; using System default
https://bugs.launchpad.net/bugs/185947
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to