Help!
I want to make a language button in the kodi Home menu bar that allows you to choose a language directly, ie which displays the modal window of the languages to choose. I don't know how to point directly in setting-interface-regional-language?
it's not possible to open the language setting dialog on the home screen.
if you really really want such a thing, you need to create a your own custom dialog with a list of all languages supported by kodi.
you can use SetGUILanguage(resource.language.xx_yy)
as the onclick action for the listitems.
(2017-12-25, 23:18)ronie Wrote: [ -> ]it's not possible to open the language setting dialog on the home screen.
if you really really want such a thing, you need to create a your own custom dialog with a list of all languages supported by kodi.
you can use SetGUILanguage(resource.language.xx_yy)
as the onclick action for the listitems.
Thank you for your help, but really i don't know how can i do this!
i try to do it like this:
<?xml version="1.0" encoding="utf-8" ?>
<window id="1100" type="dialog">
<defaultcontrol>2</defaultcontrol>
<coordinates>
<left>200</left>
<top>100</top>
</coordinates>
<control type="radiobutton" id="2">
...
</control>
</window>
And in Home.xml:
<onclick>ActivateWindow(?)</onclick>
Is this correct?