onboard layout to switch language selected in input method

Asked by seshagiri on 2013-06-26

when in onboard if I select a diffent language in input method the key labels to be updated as per the selected language.
Ex: If select Telugu the buttons should have labels in Telugu

Question information

English Edit question
Onboard Edit question
No assignee Edit question
Last query:
Last reply:
marmuta (marmuta) said : #1

Hi, how do you switch to Telugu by input method?

Key labels do appear to change if I add Telugu in system settings, keyboard layout and select it with Unity's layout switcher. I don't know this language unfortunately, hard to tell if all labels are correct, but they do change.

seshagiri (seshagiri) said : #2

I switch the language with IBus input selector

marmuta (marmuta) said : #3

Thanks, I figured out how to do it. From the users point of view it would indeed make sense to reflect the changes to the input method in Onboard's labels. Whenever a Telugu input method is enabled the labels don't reflect at all what is being typed.

That said, I'm unsure how to accomplish this. I'm not very familiar with IBus, but as I understand it, input methods aren't restricted to fixed layouts. They are free to use context and may change what is being typed on the fly. Simply auto-switching to another fixed keyboard layout in Onboard wouldn't help a lot. It is unclear to me how to retrieve the label information for the active input method and if that is possible at all.

Assuming it was somehow possible to get the information from IBus, it would still be quite a large task. Onboard doesn't support label changes as dynamic as I believe this would require. Currently it is well suited for static keyboard maps (with multiple layers) only.

So in essence, I'm not very hopeful it will be implemented by us, but we should keep your request in mind. I'll open a wishlist bug as a reminder. Patches are very welcome of course.

Can you help with this problem?

Provide an answer of your own, or ask seshagiri for more information if necessary.

To post a message you must log in.