Kodi Community Forum
changing remote keyboard typing language - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: changing remote keyboard typing language (/showthread.php?tid=352139)



changing remote keyboard typing language - shmizan - 2020-02-29

Hi,
I'm running CoreELEC with Kodi 18.5.
I have defined two keyboard layouts in Settings -> Interface -> Regional -> Keyboard Layouts,
and this allows me to toggle the on-screen typing language.
I'm looking to be able to type with my remote keyboard in a secondary language, and to switch between languages similarly to Alt+Shift on Windows.
I only found the option to type in a different language by going to Settings -> System -> Input -> Keyboard Layouts, and selecting a different language than English.
but then everything I type, it's set to the changed language, and to change it back I need to go all the way back to this setting and change it again.
am I missing the possibility of changing the remote keyboard typing language on the fly?
if not, is there a way to change this setting (Settings -> System -> Input -> Keyboard Layouts) from a python script? I could then bound it to a spare keyboard key..

thanks!


RE: changing remote keyboard typing language - DaVu - 2020-02-29

Not sure which Kodi version you are using as "Settings -> System -> Input" doesn't provide the option to switch keyboard layouts If that's something CoreELEC has implemented at this section, I would recommend to ask at their own forums

Anyway. Keyboard layouts are set at "Settings -> Interface -> Regional -> Keyboar layouts" and if it looks like this for you:

Image

and if you are using Estuary, then you are able to switch keyboard layouts on the fly with that button:

Image


RE: changing remote keyboard typing language - shmizan - 2020-02-29

thanks!
this is a setting I already changed, but it affects the on-screen keyboard only.
when I switch keyboard layouts using the button you highlighted, the hardware remote keyboard keeps typing in English.
is this the expected behavior?

about this:
 
(2020-02-29, 10:10)DaVu Wrote: Not sure which Kodi version you are using as "Settings -> System -> Input" doesn't provide the option to switch keyboard layouts If that's something CoreELEC has implemented at this section, I would recommend to ask at their own forums
I was not aware. I will ask in CE's forums.
but would you happen to know if a similar setting (for example, the keyboard layouts you showed) can be changed in a python script?
thanks!


RE: changing remote keyboard typing language - shmizan - 2020-02-29

ok I have a good update.
it turns out, AlexELEC already came up with the solution:
https://github.com/AlexELEC/AE-AML/blob/master/projects/S805/packages/kodi/sources/addons/script.key.layout/addon.py
originally made for AlexELEC (some kind of mod of LibreELEC ? don't know.) but it works on CoreELEC too.
changing the "ru" values in the code to any language you want works beautifully.

so thanks Alex!