Localize strings in addon
#1
Hi,

I am trying to localize an addon I am working on. The localized strings will not be used in any GUI but will be returned as window properties. I am using the function xbmc.getLocalizedString(id) but I don't know where to put the strings.xml file.

I have tried both "language/English/strings.xml" and "resources/language/English/strings.xml" but it does not seem to work.

Is there a way to create localize strings without a GUI in an addon?
Reply
#2
few posts below yours, http://forum.xbmc.org/showthread.php?tid=104427
Reply
#3
amet Wrote:few posts below yours, http://forum.xbmc.org/showthread.php?tid=104427

Thanks Amet, I did a search with localize and could not find anything. I will take a look at the link..

Edit: And 5 minutes later, done. thanks again for pointing me at the right direction.
Reply
#4
hehe Smile

look there, it should have everything... and No, you dont need GUI for the localization
Reply

Logout Mark Read Team Forum Stats Members Help
Localize strings in addon0