Ray Strode wrote:
Hi,
- to GDM maintainers: Is it possible to change the list of languages
dynamically (based on the language-supports installed) on the GDM login screen?
We only show a language in the language list if
- It's got at least one translation in /usr/share/locale
- it's recognized by libc as a valid utf8 locale
- it's listed in iso-codes
- it's got enough font converage to at least show it's own name in
the language list.
--Ray
I think above checks only ensures the technical (rather i18n) support exists. But, what about the native language desktop users who expects fedora to be equal for all languages (just like english)?
How about,
We only show a language in the language list if - language-support is installed (e.g. yum groupinstall chinese-support)
Ankitkumar Rameshchandra Patel (ankit@redhat.com) said:
I think above checks only ensures the technical (rather i18n) support exists. But, what about the native language desktop users who expects fedora to be equal for all languages (just like english)?
How about,
We only show a language in the language list if
- language-support is installed (e.g. yum groupinstall chinese-support)
Well, there are languages we would support fine that don't have a specific language-support group (most anything that uses a Latin-1 like charset, and no specific input method.) Moreover, the groups that are installed aren't actually recorded anywhere on the installed system. (And having gdm attempt to discover/compute what groups are installed is completely impractical.)
Bill
Bill Nottingham wrote:
Well, there are languages we would support fine that don't have a specific language-support group (most anything that uses a Latin-1 like charset, and no specific input method.) Moreover, the groups that are installed aren't actually recorded anywhere on the installed system. (And having gdm attempt to discover/compute what groups are installed is completely impractical.)
Bill
Well, there should be hard-coded list maintained for such languages, which doesn't require any specific support packages and those languages should be listed by default in gdm. But other languages, which requires specific packages' support, should be listed only if their support is (or support packages are) installed. As Ray has mentioned "GDM only show a language in the language list if ...<certain criteria like libc, locale, etc meet>..." that means GDM already does some checks, so I guess there should be some way to check the installed groups.
----- "Bill Nottingham" notting@redhat.com wrote:
Well, there are languages we would support fine that don't have a specific language-support group (most anything that uses a Latin-1 like charset, and no specific input method.) Moreover, the groups that are installed aren't actually recorded anywhere on the installed system. (And having gdm attempt to discover/compute what groups are installed is completely impractical.)
The YumLangpackPlugin Feature that I am planning to propose for F12 may help with this providing langpack-support metapackages. https://fedoraproject.org/wiki/Features/YumLangpackPlugin
About the gdm menu itself I chatted to Ankit earlier in the week and came up with this rfe:
https://bugzilla.redhat.com/show_bug.cgi?id=505484
asking if we could have some gdm system config to control which languages appear by default in the menu.
Jens
Jens Petersen wrote:
The YumLangpackPlugin Feature that I am planning to propose for F12 may help with this providing langpack-support metapackages. https://fedoraproject.org/wiki/Features/YumLangpackPlugin
About the gdm menu itself I chatted to Ankit earlier in the week and came up with this rfe:
https://bugzilla.redhat.com/show_bug.cgi?id=505484
asking if we could have some gdm system config to control which languages appear by default in the menu.
Jens
Thanks Jens.
Jens Petersen (petersen@redhat.com) said:
----- "Bill Nottingham" notting@redhat.com wrote:
Well, there are languages we would support fine that don't have a specific language-support group (most anything that uses a Latin-1 like charset, and no specific input method.) Moreover, the groups that are installed aren't actually recorded anywhere on the installed system. (And having gdm attempt to discover/compute what groups are installed is completely impractical.)
The YumLangpackPlugin Feature that I am planning to propose for F12 may help with this providing langpack-support metapackages. https://fedoraproject.org/wiki/Features/YumLangpackPlugin
My one concern with this is that the conditional stuff is also used on the compose side when making LiveCDs, etc. We need to make sure that still works somehow.
Bill