Kodi Community Forum

Full Version: How to add a button Language in home menu to choose directely the language of kodi ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
here's a wiki article on how you can create & open custom windows:
http://kodi.wiki/view/HOW-TO:Add_a_new_w...a_skinning

and on that explain how to fill a list with custom items:
http://kodi.wiki/view/Skinning_Manual#Fi...ic_content
(2017-12-26, 16:23)ronie Wrote: [ -> ]here's a wiki article on how you can create & open custom windows:
http://kodi.wiki/view/HOW-TO:Add_a_new_w...a_skinning

and on that explain how to fill a list with custom items:
http://kodi.wiki/view/Skinning_Manual#Fi...ic_content
 Thank you very much