Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1753 by [email protected]: Change ibus indicator to show Language instead of Layout for xkb keyboards
https://code.google.com/p/ibus/issues/detail?id=1753

OS (Linux distributions, UNIX or ...): Linux
Architecture (i386, x86_64): all
IBus version: 1.5.9
Input method name and version: xkb keyboards


Currently, the ibus indicator in the panel displays the first 2 characters of the input LAYOUT, which is confusing for users as "English (US)" shows "US", or "Hebrew" shows "IL" (for Israel?). Many users are not in the home countries of these input methods, and only associate "English (US)" or "English (UK)" with English, NOT with US or GB. I propose therefore to use the first 2 characters of the LANGUAGE, not the LAYOUT to be displayed by the ibus indicator in the panel. If 2 different English layouts have been added to ibus, then the first should show "EN" and the second should show "EN2".

The attached patch does just this. It uses the first 2 characters of the LANGUAGE not the LAYOUT. The existing code already handles the situation if 2 or more layouts are included with the same abbreviation. So, if I now have "English (US)" and "English (Canada)" layouts in ibus, they will show as "EN" and "EN2".

Thanks to Doug Rintoul for providing this patch, I am just submitting it.

Attachments:
0001-change-ibus-indicator-to-display-language-rather-than-layout.patch 1016 bytes

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en
--- You received this message because you are subscribed to the Google Groups "ibus-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复