2012-02-11, 12:10
viljoviitanen Wrote:Please elaborate. Why would it not work with skins? Are you familiar with the xbmc c++ codebase and how the current localization system works internally?
I have no idea how the XBMC code works
for example this custom string in a skin:
PHP Code:
<string id="31025">Items</string>
It should say "Item"or "Items". So you would need two string ID's.
PHP Code:
<string id="31025">Item</string>
<string id="31026">Items</string>
Now the hard part how is the skin gonna know with this custom string which one to use (in a very simple and easy way)?
There is the stringcompare that maybe could be used but that doesn't make it simpler.
If you use <label>Number of Items</label> that is passed to XBMC how does it know what custom skin string to return?
Just some thinking out loud here. Maybe the team has some ideas on doing this. In the end they will find a way