2012-09-24, 11:57
I'm relativly new to XBMC, so sorry if this is a stupid question. I have a custom WindowXMLDialog with the following markup:
And my English strings.xml file looks as follows:
The problem is that the string is never retirieved. In my GUI only the : is shown on the label. I also tried:
without success. I checked and my XBMC language is set to English, my strings.xml is in the correct directory (resources/language/English/strings.xml). I'm running XBMC 11.0 on Ubuntu 12.04.
I've managed to use the default XBMC strings, eg:
and it works, but my own IDs don't. Does anyone have an idea why?
Code:
<window id="5000" type="dialog">
<zorder>9999</zorder>
<coordinates>
<posx>780</posx>
<posy>0</posy>
</coordinates>
<controls>
<control type="label" id="5002">
<description>heading</description>
<width>550</width>
<height>20</height>
<label>$LOCALIZE[30001] :</label>
</control>
</controls>
</window>
And my English strings.xml file looks as follows:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<string id="30000">Local Path</string>
<string id="30001">Caching files</string>
</strings>
The problem is that the string is never retirieved. In my GUI only the : is shown on the label. I also tried:
Code:
<label>30001</label>
without success. I checked and my XBMC language is set to English, my strings.xml is in the correct directory (resources/language/English/strings.xml). I'm running XBMC 11.0 on Ubuntu 12.04.
I've managed to use the default XBMC strings, eg:
Code:
<label>154</label>
and it works, but my own IDs don't. Does anyone have an idea why?