GNOME Bugzilla – Bug 683089
gnome-control-center shows encoding names for input methods.
Last modified: 2012-09-05 18:21:06 UTC
gnome-control-center gets the language codes by ibus_engine_desc_get_language() and gets the readable names by gdm_get_language_from_name(). ibus_engine_desc_get_language() does not return language code (e.g. 'zh') only but also language + country code (e.g. 'zh_CN'). However gdm_get_language_from_name() uses the locale descriptions and returns unnecessary encoding names. E.g. 'zh_TW' is not UTF-8 locale so the function returns "Chinese (Taiwan) [BIG5]". We need to send 'zh_TW.UTF-8' to the function instead.
Created attachment 223032 [details] [review] Patch for gnome-region-panel-input.c The patch is attached.
I would prefer the patch in bug 682851.
Created attachment 223235 [details] [review] Patch for gnome-region-panel-input.c (In reply to comment #2) > I would prefer the patch in bug 682851. I don't mind the way but it might be incompatible with GDM.
Closing as a dupe, as Rui prefers the solution in bug 682851 for GNOME 3.6. *** This bug has been marked as a duplicate of bug 682851 ***