XBMC Community Forum
Addon Localization not being picked up - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Python Add-on Development (/forumdisplay.php?fid=26)
+--- Thread: Addon Localization not being picked up (/showthread.php?tid=130789)



Addon Localization not being picked up - yoshiofthewire - 2012-05-06 02:10

So I have an addon I have been working on to add Localization support.
I have two language scripts and it is showing everything fine for English.
I added a Norwegian strings.xml file and when I set the language to Norwegian I still get English strings.
I must be forgetting something.
I have searched and can not find an answer.
Note: the localization doesn't pick up in settings either.

Crunchyroll Takeout Source

Thanks in advanced


RE: Addon Localization not being picked up - ronie - 2012-05-06 02:32

this one has an invalid closing tag:

<string id="70002">Prøver å logge inn med din bruker konto /string>


RE: Addon Localization not being picked up - Martijn - 2012-05-06 02:36

Best use an editor like Notepad++ that will notify you of typos or missing brackets


RE: Addon Localization not being picked up - yoshiofthewire - 2012-05-06 03:07

Thanks!
I knew I was doing something stupid.
But I found another problem that will be far harder to fix.
I forked this code from another plugin, and the way some things are being done make Unicode strings break the addon.
So, that will be fun