Converting strings.xml to strings.po
#1
I'm converting my MCERemote addon to work with Python 3 but I've run into  problem with the strings. I've converted the code and used Ronie's script to convert the settings.xml and the addon works. But in the settings it isn't loading the strings. It should look like:

ImageImageImagehttp://swarchive.ratsauce.co.uk/XBMC/working.png

But instead it looks like:

http://swarchive.ratsauce.co.uk/XBMC/notworking.png

Everywhere there is a label="30109" (random number) the string doesn't load. I'm guessing the new settings format requires the strings to be in strings.po. Is there an easy way to convert my strings.xml to strings.po or do I have to just fire up my text editor and get down to it?
Reply
#2
Ignore me!

A few regular expressions later and my string.po is all working :-)
Reply
#3
https://gitlab.com/ronie/script.language-convert
Reply



Logout Mark Read Team Forum Stats Members Help
Converting strings.xml to strings.po0
This forum uses Lukasz Tkacz MyBB addons.