best practice way to retreive a string (language) from xml?
#1
There is a few different ways, which is best practice?

I dont like this as it is an absolute reference, not relative the actual running add-on.
$ADDON[script.linux.nm 621]

.
This is ok but does not looks so nice. Also it does not accept higher than 9999 which is fine but does not match most add-on existing pattern.
<label>$LOCALIZE[SCRIPT9999]</label>

This is nice but seem to refer to xbmc internal strings? Is there a range that the addon can use or how does it work?
<label>621</label>

Reply

Logout Mark Read Team Forum Stats Members Help
best practice way to retreive a string (language) from xml?0