Translate of addon with upstream repo existing
#21
Quote:xml2po -o template.pot template.xml
xml2po -p LANG.po -o LANG.xml template.xml

This works really well and easy.

At the end i get back the original xml file format only the translated parts show up as changed strings.

I was even made a test with a modified original xml file. With poedit (but i am sure launchpad also nows this function) i was able to make an update and the changed new strings appeared, the deleted strings disappeared with no problem. At the end i once again got back the correct translated xml file.

The only think to keep things maintained is to create the po template (pot) file from time to time using the current strings.xml files in svn or git and i guess upload to launchpad.

What do you think Spiff ? This could work out.

Can we make a test on xbmc launchpad ?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply


Messages In This Thread
[No subject] - by jmarshall - 2010-07-25, 00:48
[No subject] - by alanwww1 - 2010-07-25, 01:20
[No subject] - by jmarshall - 2010-07-25, 03:12
[No subject] - by spiff - 2010-07-25, 21:24
[No subject] - by alanwww1 - 2010-07-25, 23:31
[No subject] - by takoi - 2010-07-26, 02:23
[No subject] - by alanwww1 - 2010-07-26, 08:11
[No subject] - by spiff - 2010-07-26, 10:22
[No subject] - by alanwww1 - 2010-07-26, 11:29
[No subject] - by spiff - 2010-07-26, 11:39
[No subject] - by alanwww1 - 2010-07-26, 12:34
[No subject] - by takoi - 2010-07-26, 12:44
[No subject] - by spiff - 2010-07-26, 12:56
[No subject] - by alanwww1 - 2010-07-26, 13:19
[No subject] - by takoi - 2010-07-26, 13:40
[No subject] - by alanwww1 - 2010-07-26, 14:13
[No subject] - by takoi - 2010-07-26, 14:29
[No subject] - by alanwww1 - 2010-07-26, 14:36
[No subject] - by takoi - 2010-07-26, 15:25
[No subject] - by alanwww1 - 2010-07-26, 16:30
[No subject] - by spiff - 2010-07-26, 16:41
[No subject] - by takoi - 2010-07-26, 17:13
[No subject] - by alanwww1 - 2010-07-26, 17:27
[No subject] - by spiff - 2010-07-26, 17:32
[No subject] - by takoi - 2010-07-26, 17:54
[No subject] - by alanwww1 - 2010-07-27, 22:17
[No subject] - by h.udo - 2010-07-28, 03:10
[No subject] - by takoi - 2010-08-24, 15:30
[No subject] - by jmarshall - 2010-08-25, 01:19
[No subject] - by alanwww1 - 2010-08-25, 09:52
Logout Mark Read Team Forum Stats Members Help
Translate of addon with upstream repo existing0