Attention ALL translators

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
CutSickAss Offline
Fan
Posts: 430
Joined: Dec 2011
Reputation: 28
Location: Greece
Post: #41
@alanwww1

Is there an easy way to turn the strings.xml files to the strings.po format? I am asking because I haven't updated the Greek translations since you said we should wait for the service release of Eden 11.0 before adding any new GIT edits.

Should I make pull requests now for the GIT changes in strings.xml and you (or someone else) will change that to the strings.po format, or is there any script or website so that I can make the changes myself?
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #42
@CutSickAss:
You might compile this:
https://github.com/alanwww1/xbmc-xml2po

@attila:
Maybe you can upload a compiled copy for the translators that worked on the latest translations within the xml but don't have to po file ready?

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
Roman_V_M Offline
Fan
Posts: 332
Joined: Jun 2011
Reputation: 6
Location: Kyiv, Ukraine
Post: #43
(2012-05-07 19:50)mad-max Wrote:  @CutSickAss:
You might compile this:
https://github.com/alanwww1/xbmc-xml2po

I'm worse than a noob in programming, but VC 2010 displays an error when trying to compile a build due to an ablolute path in \vc_project\libiconv\relocatable.c, line #29:
Code:
#include "C:\Users\Atti\xbmc-xml2po\vc_project\libiconv\include\config.h"
When I've changed the path to the actual location of the file in question, I've been able to compile xbmc-xml2po.exe that seems to work.

Quote:@attila:
Maybe you can upload a compiled copy for the translators that worked on the latest translations within the xml but don't have to po file ready?

Here is a Windows version: http://dl.dropbox.com/u/24356082/xbmc-xml2po.zip

AMD A4-3300 + AsRock A75M-ITX
XBMC-DSplayer 12.2 (custom build) on Windows 7
find quote
CutSickAss Offline
Fan
Posts: 430
Joined: Dec 2011
Reputation: 28
Location: Greece
Post: #44
(2012-05-07 19:50)mad-max Wrote:  @CutSickAss:
You might compile this:
https://github.com/alanwww1/xbmc-xml2po

Thanks, worked like a charm! From a first look there are no visible problems in the Greek translation such as strange characters. Will make pull requests in github later tonight. A couple of questions though:

1) Can I add the original translator's name in the "Last Translator" section? I was thinking of something like this: "Last-Translator: FULL NAME <EMAIL@ADDRESS>___Original-translator: FULL NAME <EMAIL@ADDRESS>\n"

2) An even sillier question: Compiling xbmc-xml2po to an executable file using VC++ 2010 Express and mentioning it here, for example, would be considered distributing, and, therefore, in violation of the License Agreement, right? I suppose that is why no-one has done that.


EDIT: Roman_V_M beat me to the punch regarding my second question, by posting a link to the precompiled executable before I finished typing...
(This post was last modified: 2012-05-07 21:33 by CutSickAss.)
find quote
Roman_V_M Offline
Fan
Posts: 332
Joined: Jun 2011
Reputation: 6
Location: Kyiv, Ukraine
Post: #45
(2012-05-07 21:09)CutSickAss Wrote:  2) An even sillier question: Compiling xbmc-xml2po to an executable file using VC++ 2010 Express and mentioning it here, for example, would be considered distributing, and, therefore, in violation of the License Agreement, right? I suppose that is why no-one has done that.

Sorry, but what License Agreement you are talking about? AFAIU, xbmc-xml2po is open source under GPL or something like that.

AMD A4-3300 + AsRock A75M-ITX
XBMC-DSplayer 12.2 (custom build) on Windows 7
find quote
CutSickAss Offline
Fan
Posts: 430
Joined: Dec 2011
Reputation: 28
Location: Greece
Post: #46
(2012-05-07 22:00)Roman_V_M Wrote:  
(2012-05-07 21:09)CutSickAss Wrote:  2) An even sillier question: Compiling xbmc-xml2po to an executable file using VC++ 2010 Express and mentioning it here, for example, would be considered distributing, and, therefore, in violation of the License Agreement, right? I suppose that is why no-one has done that.

Sorry, but what License Agreement you are talking about? AFAIU, xbmc-xml2po is open source under GPL or something like that.

In my example I mentioned compiling the executable with Microsoft VC++ 2010, which is free to use, provided you don't create any commercial programs, I mean with intent to distribute (VC++ License Agreement).
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #47
(2012-05-07 21:09)CutSickAss Wrote:  2) An even sillier question: Compiling xbmc-xml2po to an executable file using VC++ 2010 Express and mentioning it here, for example, would be considered distributing, and, therefore, in violation of the License Agreement, right? I suppose that is why no-one has done that.
Sorry man, but this made me smile a bit...
Why should it be illegal to distribute it?
You also compile XBMC with VC++ 2010...

BTW: You mentioned a PR for GIT?!?! Can we already submit changed po files or do we have to wait for transifex?
I have a new version of strings file in my local GIT, too...
If we can submit PR, I would do this, too...
Attila, any opinion?

mad-max

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
CutSickAss Offline
Fan
Posts: 430
Joined: Dec 2011
Reputation: 28
Location: Greece
Post: #48
(2012-05-07 22:07)mad-max Wrote:  
(2012-05-07 21:09)CutSickAss Wrote:  2) An even sillier question: Compiling xbmc-xml2po to an executable file using VC++ 2010 Express and mentioning it here, for example, would be considered distributing, and, therefore, in violation of the License Agreement, right? I suppose that is why no-one has done that.
Sorry man, but this made me smile a bit...
Why should it be illegal to distribute it?
You also compile XBMC with VC++ 2010...

BTW: You mentioned a PR for GIT?!?! Can we already submit changed po files or do we have to wait for transifex?
I have a new version of strings file in my local GIT, too...
If we can submit PR, I would do this, too...
Attila, any opinion?

mad-max

That is why I opened with "An even sillier question", I also thought it would sound too dumb... Blush
My reasoning was that compiling XBMC for myself is legal since I do not distribute it to anyone else. Also, my guess is that someone in the XBMC Team has VC++ Full Edition (or whatever is called), and is therefore eligible to compile XBMC for distr... eh, whatever, your answer is OK!

Regarding github, I "casually" mentioned I would be making a PR later tonight to see if anyone would object to that! Big Grin
But truth be told, I wasn't going to do anything without confirmation it's OK to edit the strings.po files. It makes sense we should wait for the transifex move.
(This post was last modified: 2012-05-07 22:21 by CutSickAss.)
find quote
Roman_V_M Offline
Fan
Posts: 332
Joined: Jun 2011
Reputation: 6
Location: Kyiv, Ukraine
Post: #49
(2012-05-07 22:07)CutSickAss Wrote:  In my example I mentioned compiling the executable with Microsoft VC++ 2010, which is free to use, provided you don't create any commercial programs, I mean with intent to distribute (VC++ License Agreement).

That's a new. AFAIK there is no such limitations, provided that VC++ 2010 Express is properly registered (which is a free procedure).

AMD A4-3300 + AsRock A75M-ITX
XBMC-DSplayer 12.2 (custom build) on Windows 7
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 52
Location: Germany
Post: #50
(2012-05-07 22:20)CutSickAss Wrote:  Regarding github, I "casually" mentioned I would be making a PR later tonight to see if anyone would object to that! Big Grin
But truth be told, I wasn't going to do anything without confirmation it's OK to edit the strings.po files. It makes sense we should wait for the transifex move.
Hmm..ok...so my branch is ready...simply need to push the "submit" button for a PR...
Will hold on until Attila has come with an opinion...
Although it wouldn't harm or break anything...

mad-max

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
(This post was last modified: 2012-05-07 22:33 by mad-max.)
find quote
Post Reply