Translation

Re: Translation

Postby Bertram » 02 Feb 2014, 12:05

Hi guys,

Nice to see you're eager to do it! :)

I've updated the pot file with latest changes.

Best regards.
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby BioHazardX » 21 Feb 2014, 18:16

Hi, I've just finished to complete my translation! :D
Attachments
it.po
New IT translation
(229.24 KiB) Downloaded 71 times
SURVIVAL STRATEGY!
User avatar
BioHazardX
 
Posts: 183
Joined: 07 Jan 2012, 12:03
Location: from the 90's

Re: Translation

Postby Bertram » 25 Feb 2014, 11:07

Hi BioHazardX :)

Sorry for the late answer, it is now pushed! Thanks a lot!!
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby dimproject » 04 Mar 2014, 21:56

English text review\n
\n
French (fr)\n
\n
Gallician (gl)\n
................

Gallician? I only found in the dictionary words Gallican, Gallic.
dimproject
 
Posts: 212
Joined: 18 Jul 2013, 13:51

Re: Translation

Postby Bertram » 05 Mar 2014, 10:02

My fault, there is only one L: http://en.wikipedia.org/wiki/Galicia,_Spain

You now know why I need english text review. ;)
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby dimproject » 09 Mar 2014, 11:19

%ss? What this?
dimproject
 
Posts: 212
Joined: 18 Jul 2013, 13:51

Re: Translation

Postby Bertram » 10 Mar 2014, 10:31

Hi dimproject,

The goal of this one is to display seconds: e.g.: 4.2s
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby Akien » 10 Mar 2014, 12:17

Bertram {l Wrote}:Hi dimproject,

The goal of this one is to display seconds: e.g.: 4.2s


You might want to add an explanatory comment to the translation catalog if it's not the case already, then.
User avatar
Akien
 
Posts: 731
Joined: 22 Feb 2014, 13:14

Re: Translation

Postby Bertram » 10 Mar 2014, 13:12

Hi Akien, :)

You might want to add an explanatory comment to the translation catalog if it's not the case already, then.

Yes, it is the case already. Yet, you can't see it if you're not editing the po file using poedit and within a complete clone, unfortunately.
Or do you know a standard way to add a comment directly in the po file, visible by translators?

Best regards,
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby Akien » 10 Mar 2014, 15:16

Bertram {l Wrote}:Hi Akien, :)

You might want to add an explanatory comment to the translation catalog if it's not the case already, then.

Yes, it is the case already. Yet, you can't see it if you're not editing the po file using poedit and within a complete clone, unfortunately.
Or do you know a standard way to add a comment directly in the po file, visible by translators?

Best regards,


Hi Bertam,

Looking at some .po files on the master branch, I can't see a comment for this string (neither in Kate nor in Poedit). I looked at the .pot file and at gl.po (BTW the "%ss" string is missing from the French translation, maybe you need to refresh the translation catalog?).

Looking at the translation catalog for "Me and My Shadow", I see that they manage to add comments to the translation catalog using simply ///, see e.g. an excerpt from src/Addons.cpp:
{l Code}: {l Select All Code}
if(!addonFile.good()) {
      //NOTE: We keep the console output English so we put the string literal here twice.
      cerr<<"ERROR: unable to load addon_list file!"<<endl;
      /// TRANSLATORS: addon_list is the name of a file and should not be translated.
      error=_("ERROR: unable to load addon_list file!");
      return false;
   }

It produces in the data/locale/messages.pot file (and subsequent .po files):
{l Code}: {l Select All Code}
#  TRANSLATORS: addon_list is the name of a file and should not be translated.
#: ../src/Addons.cpp:161
msgid "ERROR: unable to load addon_list file!"
msgstr ""


After a quick search, it seems it wouldn't work out-of-the-box like that, but you need to pass an argument to tell gettext what prefix is used for comments (e.g. triple slash).
See this thread for more details: http://stackoverflow.com/questions/7665 ... generation
User avatar
Akien
 
Posts: 731
Joined: 22 Feb 2014, 13:14

Re: Translation

Postby Bertram » 10 Mar 2014, 15:25

Thanks a lot for the tip Akien. :)

I'll try and add support for that on my next VT development runs. ;)

Best regards,
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby Bertram » 10 Mar 2014, 15:27

Akien {l Wrote}:(BTW the "%ss" string is missing from the French translation, maybe you need to refresh the translation catalog?).

I'll update the catalog asap along with doing the french translation update. but I didn't want to do it every time I added a string.

EDIT:
Looking at some .po files on the master branch, I can't see a comment for this string (neither in Kate nor in Poedit).

IIRC, in poedit, you can toggle the code view panel, which opens the corresponding source file where the string was found at the given line.

Best regards,
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby Bertram » 14 Mar 2014, 09:58

Ok, guys, I know there haven't been a lot of activity on VT forums lately, but for you to know, I'll update the catalog and the French translation along with Akien's given trick.

@Akien: It seems you're French. Feel free to have a look once I'm done to french translation and tell me if you find something eye-hurting. ;)

The dungeon's scripting task is overwhelming but I've managed to kill the most annoying things to script, so we should be there in a month or two. :D

Best regards,
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby Akien » 14 Mar 2014, 10:49

Bertram {l Wrote}:@Akien: It seems you're French. Feel free to have a look once I'm done to french translation and tell me if you find something eye-hurting. ;)

Frig, even in forums my outstanding French accent betrays me :-P

I'll have a look. I'm looking forward to the next release to play Valyria Tear again (and do some QA while doing so, it wouldn't hurt). And I've already heard of some Mageia players using my VT package, so I guess I'm not the only one :-D
User avatar
Akien
 
Posts: 731
Joined: 22 Feb 2014, 13:14

Re: Translation

Postby Bertram » 14 Mar 2014, 11:18

Yes, you're spotted my frog-eating friend. ;)
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby dimproject » 14 Mar 2014, 19:52

Done! :D Here is translation for dev version!
ru.po
(258.32 KiB) Downloaded 70 times
dimproject
 
Posts: 212
Joined: 18 Jul 2013, 13:51

Re: Translation

Postby Bertram » 15 Mar 2014, 02:31

Pushed thanks! :D
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby jahallc » 22 Mar 2014, 23:54

For the non-tech savvy here (i.e. me), what is the simplest way to get an up-to-date version of the game? I would like to do some linguistic testing while I have time, but I have no idea how to update the game. Also, what would you recommend for a fast way to do linguistic testing? I have been updating the Spanish PO file to correct UI issues and what not. Let me know.

Thanks =)
jahallc
 
Posts: 8
Joined: 01 Feb 2013, 14:11

Re: Translation

Postby Bertram » 25 Mar 2014, 09:25

Hi jahalic, :)

Sorry for the late answer.
what is the simplest way to get an up-to-date version of the game?

The simplest way to get that is to compile it from source. You can find it here (instructions in the README):
https://github.com/Bertram25/ValyriaTear
(Unfortunately, I don't have the time to add nightly builds atm, so I don't have the full non-tech savvy solution yet. ;])
On the other hand, the story, even in the dev version, has been purposely been stopped after the Harlequin boss as I am designing/scripting the Episode I final dungeon atm.
I am half-way done, and I expect to be fully finished within two months now, (It's only an expectation, though.) I hope to be able to unlock that last part before that so you all can test and enjoy it, and hopefully report bugs to me before we go to full release. :)

Also, what would you recommend for a fast way to do linguistic testing?

If by that, you mean attest the sentences are going well with their context, I'd say, having a save with overpowered characters would permit you to advance quickly to one story point.
If you know at which story point, you want to start, can give you a save for that.

I have been updating the Spanish PO file to correct UI issues and what not. Let me know.

I you have fixes, feel free to upload the file here, if you want to. I'll push it. :)

Best regards,
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby Bertram » 06 Apr 2014, 16:57

@Akien: I've pushed support for /// translators directed comments style.
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby Akien » 06 Apr 2014, 23:19

Bertram {l Wrote}:@Akien: I've pushed support for /// translators directed comments style.

Great, thanks!

It's still on my TODO list to do a playthrough of the master branch and see if the French translation needs improvement here and there. I'll keep you posted :)
User avatar
Akien
 
Posts: 731
Joined: 22 Feb 2014, 13:14

Re: Translation

Postby dimproject » 21 Apr 2014, 19:41

Here is translation update for dev version.
ru.po
(263.48 KiB) Downloaded 66 times
dimproject
 
Posts: 212
Joined: 18 Jul 2013, 13:51

Re: Translation

Postby Bertram » 27 Apr 2014, 11:31

Pushed, thanks! :)
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Re: Translation

Postby BioHazardX » 27 Apr 2014, 13:34

And here's the newest Italian update!! :cool:
Attachments
it.po
(243.87 KiB) Downloaded 65 times
SURVIVAL STRATEGY!
User avatar
BioHazardX
 
Posts: 183
Joined: 07 Jan 2012, 12:03
Location: from the 90's

Re: Translation

Postby Bertram » 27 Apr 2014, 14:49

And... Pushed! thanks ;)

N.B.: Expect a few more strings before release, but hopefully, not that much.
User avatar
Bertram
VT Moderator
 
Posts: 1635
Joined: 09 Nov 2012, 12:26

Who is online

Users browsing this forum: No registered users and 1 guest