GNOME Bugzilla – Bug 686493
Opening Keyboard layout by default select Chinese (first entry) not the current language
Last modified: 2012-11-05 16:54:26 UTC
When opening keyboard layout module in control center, say for example to change my input sources, the language tab is visible first. In this tab, Chinese (1st entry) is selected by default, not my current language preference. This is very easy to be missed by the user. But next time when logged in, the user will be greeted with Great Chinese text through out the desktop.
Anyone, please?
Start with the output of: gnome-control-center --verbose region and mention which version of gnome-control-center you're using, as well as your current language.
Okay, I noticed that if I start keyboard layout directly, it doesn't select any languages, but if I start with system settings and select keyboard layout, I get Chinese selected. In either case, if I select a different panel say Formats and then come back to Languages, Chinese is selected. Version: gnome-control-center 3.6.1 Current language: English UK OS: Ubuntu Gnome Remix 12.10 I get the following output in terminal with verbose ** (gnome-control-center:4212): DEBUG: Enabling debugging ** (gnome-control-center:4212): DEBUG: No extra argument (gnome-control-center:4212): common-cc-panel-DEBUG: Ignoring 'zh_SG.utf8' as a locale, since it lacks translations (gnome-control-center:4212): common-cc-panel-DEBUG: Ignoring 'C.UTF-8' as a locale, since it lacks translations (gnome-control-center:4212): common-cc-panel-DEBUG: Trying to select lang 'en_GB.utf8' in treeview (gnome-control-center:4212): common-cc-panel-WARNING **: Could not find current language '\xe0\xcc\u000e\xbd'\u007f' in the treeview (gnome-control-center:4212): common-cc-panel-WARNING **: locale '"en_IN"' isn't valid (gnome-control-center:4212): common-cc-panel-WARNING **: locale '"en_IN"' isn't valid
Correction .... if I select a different tab (not panel) say Formats......
Ubuntu don't ship a gnome-control-center 3.6, I don't know what patches the GNOME remix ships with, the package is outdated (3.6.2 is out already, and the gnome-3-6 branch has more fixes). Certainly, this looks broken: (gnome-control-center:4212): common-cc-panel-WARNING **: Could not find current language '\xe0\xcc\u000e\xbd'\u007f' in the treeview Jeremy, what patches do you ship? Justin, please install the debug packages of gnome-control-center and run: valgrind --tool=memcheck --track-origins=yes gnome-control-center while reproducing the problem.
This is a duplicate of https://bugzilla.gnome.org/681682 Bastien, the bad patch is http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/quantal/gnome-control-center/quantal/view/head:/debian/patches/52_ubuntu_language_list_mods.patch I found this weekend that if I uncomment lines 79-80, I don't have the "first entry selected" problem but I do get my current language listed twice. This problem is compounded by some Ubuntu installer bug (all languages except for the selected language are removed during install, but somehow Chinese isn't removed in some cases). So to some degree this is NOTGNOME, but Ubuntu would really like to use GNOME's language panel in the near future. The blocker is that we use language packs instead of having languages installed in the individual packages, and we want to support fallback languages (a Tunisian may want to have Arabic where possible but French otherwise). https://live.gnome.org/Design/SystemSettings/RegionAndLanguage/ChangeProposals
Marking as a duplicate then. The patch seems to think it's not imporrtant to add the user's _current_ language to the list. Any other engineering discussions would be best served by happening in Bugzilla. *** This bug has been marked as a duplicate of bug 681682 ***