GNOME Bugzilla – Bug 692700
Fix the xkb layouts language/country grouping
Last modified: 2013-02-19 11:22:39 UTC
This is how I intended it to work but the get_language/region_from_name methods didn't quite do what I needed.
Created attachment 234607 [details] [review] gnome-languages: Add methods to get language/country from ISO codes
Created attachment 234608 [details] [review] gnome-xkb-info: Use the correct methods to get language/country gnome_get_[language|region]_from_name() wants a locale string, not the ISO codes in isolation. Since that's what we have when parsing the XML data we must instead use these new methods that accept the ISO codes directly.
Created attachment 236009 [details] [review] gnome-languages: Add methods to get language/country from ISO codes -- rebased
Created attachment 236010 [details] [review] gnome-xkb-info: Use the correct methods to get language/country -- rebased
Review of attachment 236009 [details] [review]: Looks ok
Review of attachment 236010 [details] [review]: ok
Attachment 236009 [details] pushed as fc7d260 - gnome-languages: Add methods to get language/country from ISO codes Attachment 236010 [details] pushed as 8d2ff3d - gnome-xkb-info: Use the correct methods to get language/country