[Solved] Change the default language in source code
#1
I m compiling kodi, how change the default language in source code?
Reply
#2
you change the settings xml file.
Reply
#3
show me example, i have trying but when i compile and install result is
<language default="true">Portuguese (Brazil)</language>
but need be
<language>Portuguese (Brazil)</language>
Reply
#4
You're looking at the wrong XML file, see https://github.com/xbmc/xbmc/blob/master...s.xml#L135 for the proper place.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#5
(2015-10-22, 13:10)Montellese Wrote: You're looking at the wrong XML file, see https://github.com/xbmc/xbmc/blob/master...s.xml#L135 for the proper place.



ok so basically

Quote:<setting id="locale.language" type="addon" label="248" help="36114">
<level>0</level>
<default>resource.language.pt_br</default>
<constraints>
<addontype>kodi.resource.language</addontype>
</constraints>
<control type="button" format="addon">
<show more="false" details="false">all</show>
</control>
</setting>
<setting id="locale.country" type="string" label="20026" help="36115">
<level>0</level>
<default>BRAZIL (24h)</default>
<constraints>
<options>regions</options>
</constraints>
<dependencies>
<dependency type="update" setting="locale.language" />
</dependencies>
<control type="list" format="string" />
</setting>

will be enough ? Kodi will compile with PT_BR as default language pack?
Reply

Logout Mark Read Team Forum Stats Members Help
[Solved] Change the default language in source code0