Tried the below code, but no success. Unlike the previous code, the
screen didn't turn black. Progress?
static const char *
get_default_language_name (GdmSessionDirect *session)
{
char *langlist;
char language[50];
if (session->priv->saved_language != NULL) {
return session->priv->saved_language;
}
langlist = getenv("LANGUAGE");
if (langlist != NULL && strlen(langlist) > 0) {
strncpy( language, langlist, strcspn(langlist, ":") );
return language;
}
return setlocale (LC_MESSAGES, NULL);
}
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/740754
Title:
Language selection for newly created user confusing
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs