spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-07-26 11:39
Post: #11
while i think making them files easier to find for translators is a good idea, giving the authors the load of checking when an update is available is absolutely unacceptable.
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. |
| find quote |
alanwww1
Team-XBMC Member Joined: Nov 2008 Reputation: 32 Location: Hungary |
2010-07-26 12:34
Post: #12
spiff Wrote:while i think making them files easier to find for translators is a good idea, giving the authors the load of checking when an update is available is absolutely unacceptable. Ok. I understand that. So the simple webspace solution is no good. If i can present a po to xml and xml to po converter can you put together the launchpad translation solution. As i wrote i can undertake the task to create and maintain the POT template files and do other needed stuff. I cheked and there are some really nice crossplatforms utils editing, creating etc the po and pot files. Eg. http://www.poedit.net/screenshots.php. Edit: Two relevant emailing about xml and pot conversion: https://answers.launchpad.net/rosetta/+question/12456 https://answers.launchpad.net/rosetta/+question/98058 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.
(This post was last modified: 2010-07-26 12:38 by alanwww1.)
|
| find quote |
takoi
Fan Posts: 511 Joined: Oct 2009 Reputation: 6 Location: Norway |
2010-07-26 12:44
Post: #13
i pm'd blittan about it and he's saying he's writing an online translation tool from scratch. why i dont know tho. probably because you have to convert them all the time
|
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-07-26 12:56
Post: #14
if you hand us the conversion tool, we will handle launchpad for sure. note that it's gonna be somewhat tricky i think, since .po has no concept of an id, instead the english string is used as the key.
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. |
| find quote |
alanwww1
Team-XBMC Member Joined: Nov 2008 Reputation: 32 Location: Hungary |
2010-07-26 13:19
Post: #15
spiff Wrote:if you hand us the conversion tool, we will handle launchpad for sure. note that it's gonna be somewhat tricky i think, since .po has no concept of an id, instead the english string is used as the key. That's no problem at all 'cause we can use msgctxt "id_number" format in the po file. I found this in Blittan's emailing :-) https://answers.launchpad.net/rosetta/+question/73660 If he is currently writing an online conversion tool i think there is no sense for me to start another one. What i could make is a simple command-line tool that converts addon.xml and strings.xml files to po and reverse. But if Blittan can do an online version, that's even better. Maybe also an online regexp tool with a proper expression can do the trick, i am not sure. 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. |
| find quote |
takoi
Fan Posts: 511 Joined: Oct 2009 Reputation: 6 Location: Norway |
2010-07-26 13:40
Post: #16
well this appears to be working:
xml2po -o template.pot template.xml xml2po -p LANG.po -o LANG.xml template.xml |
| find quote |
alanwww1
Team-XBMC Member Joined: Nov 2008 Reputation: 32 Location: Hungary |
2010-07-26 14:13
Post: #17
ventech Wrote:well this appears to be working: You have tried it with sample files ? 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. |
| find quote |
takoi
Fan Posts: 511 Joined: Oct 2009 Reputation: 6 Location: Norway |
2010-07-26 14:29
Post: #18
yes
|
| find quote |
alanwww1
Team-XBMC Member Joined: Nov 2008 Reputation: 32 Location: Hungary |
2010-07-26 14:36
Post: #19
ventech Wrote:yes Could you please enclose the sample files, for checking ? 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. |
| find quote |
takoi
Fan Posts: 511 Joined: Oct 2009 Reputation: 6 Location: Norway |
2010-07-26 15:25
Post: #20
template.xml: http://pastebin.com/aYBRg3YN
template.pot: http://pastebin.com/Fx0H8bQp translation.po: http://pastebin.com/XkdMMixa translation.xml: http://pastebin.com/cWQKkGAS |
| find quote |

Search
Help