After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313735 - Mainland Chinese and Hong Kong are missing in language list
Mainland Chinese and Hong Kong are missing in language list
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-17 16:47 UTC by Frederic Crozat
Modified: 2005-08-18 07:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Frederic Crozat 2005-08-17 16:47:21 UTC
Distribution/Version: Mandriva cooker

gdm locale.alias file is incorrect, because it contains space in the first
section for zh_CN and zh_HK "Chinese(Mainland China)" and "Chinese(Hong Kong)"
causing these two locales to be discarded in languages list (even if locales are
installed on the system).

Removing the offending space in locale.alias fixes the issue and doesn't break
string freeze (because string used for obtaining translation are in gdmlanguages.c).
Comment 1 Brian Cameron 2005-08-17 22:11:34 UTC
Would it be better to replace the space with a dash (-) character, do you think?
 Feel free to commit a fix that corrects the GDM locale.alias file.
Comment 2 Frederic Crozat 2005-08-18 07:44:39 UTC
Well, for Hong-Kong, it would be better, but for Mainland China, it doesn't make
sense. And there is already "SouthAfrica" where no space is used.

Anyway, it isn't really a problem since those strings are not displayed at all :)

committed on CVS in gnome-2-12 and HEAD branches.