trans to spanish

Discuss, plan, and make Translations for FreeOrion
Message
Author
arrakis69ct
Space Krill
Posts: 1
Joined: Wed Dec 17, 2014 12:20 am

trans to spanish

#1 Post by arrakis69ct » Wed Dec 17, 2014 12:23 am

I can help to translate the game to spanish. I have experience translating games. If a modder send me the text. I can do.

User avatar
MatGB
Creative Contributor
Posts: 3310
Joined: Fri Jun 28, 2013 11:45 pm

Re: trans to spanish

#2 Post by MatGB » Wed Dec 17, 2014 6:16 pm

if you have the game installed, you have the text, go into the installed files in the Default folder is a folder called "stringtables", there might be an existing es.txt but I suspect it's VERY out of date as I don't recall anyone doing work on it for awhile.

Far better to take the existing en.txt file and work through that, it should be fairly obvious what's needed, if not there is some advice given in the other translation threads and similar.
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

User avatar
Cjkjvfnby
AI Contributor
Posts: 451
Joined: Tue Jun 24, 2014 9:55 pm

Re: trans to spanish

#3 Post by Cjkjvfnby » Wed Dec 17, 2014 11:26 pm

arrakis69ct wrote:I can help to translate the game to spanish. I have experience translating games. If a modder send me the text. I can do.
es.txt is real outdated.

Here is patch and new es.txt

Removed all key that are not used.
Removed all wrong translated keys ([[<key>]] is reference and should not be translated)
Added all missed keys with english texts.
Formated empty line and comments exactly same as in en.txt.

This file is for last development version (SVN 7788). You propably will not notice any difference.

PS If you like tools like po_editor, I can share scripts to conver this data to po and back.
Attachments
es.txt
(366.55 KiB) Downloaded 76 times

[The extension patch has been deactivated and can no longer be displayed.]

If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Dilvish
AI Lead, Programmer
Posts: 4710
Joined: Sat Sep 22, 2012 6:25 pm

Re: trans to spanish

#4 Post by Dilvish » Thu Dec 18, 2014 4:38 am

I suppose that "Added all missed keys with english texts" might be helpful for arrakis69ct to make a fully up to date file, but in the meantime, if you post another version with just the other changes I think it makes sense to go ahead and commit those.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Cjkjvfnby
AI Contributor
Posts: 451
Joined: Tue Jun 24, 2014 9:55 pm

Re: trans to spanish

#5 Post by Cjkjvfnby » Thu Dec 18, 2014 8:49 pm

Dilvish wrote:I suppose that "Added all missed keys with english texts" might be helpful for arrakis69ct to make a fully up to date file, but in the meantime, if you post another version with just the other changes I think it makes sense to go ahead and commit those.

Do you mind if I remove other entries that same as in english for patch?
Attachments

[The extension patch has been deactivated and can no longer be displayed.]

If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Dilvish
AI Lead, Programmer
Posts: 4710
Joined: Sat Sep 22, 2012 6:25 pm

Re: trans to spanish

#6 Post by Dilvish » Mon Dec 22, 2014 12:51 am

my diff viewer rejects the above patch as malformed (perhaps a problem with metadata, but I've tried manually removing that from your patches in the past but it didn't help), and svn patch rejects a lot of the chunks.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Cjkjvfnby
AI Contributor
Posts: 451
Joined: Tue Jun 24, 2014 9:55 pm

Re: trans to spanish

#7 Post by Cjkjvfnby » Mon Dec 22, 2014 9:14 pm

Dilvish wrote:my diff viewer rejects the above patch as malformed (perhaps a problem with metadata, but I've tried manually removing that from your patches in the past but it didn't help), and svn patch rejects a lot of the chunks.
May be it is because my idea removed spaces at blank lines?
Attachments

[The extension patch has been deactivated and can no longer be displayed.]

If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Dilvish
AI Lead, Programmer
Posts: 4710
Joined: Sat Sep 22, 2012 6:25 pm

Re: trans to spanish

#8 Post by Dilvish » Tue Dec 23, 2014 3:54 am

Cjkjvfnby wrote:May be it is because my idea removed spaces at blank lines?
It doesn't really seem like that should have been a problem, but this latest patch did work fine, both for my diff viewer and for svn patch.

Code: Select all

r7798 | dilvish-fo | 2014-12-22 19:52:08 -0800 (Mon, 22 Dec 2014) | 4 lines
patch by Cjkjvfnby cleaning up ES stringtable, but not substantively updating its actual translations
 * Removed keys that are not used as of r 7788
 * Removed keys that were themselves wrongly translated  ([[<key>]] is reference and should not be translated)
 * Formated empty line and comments exactly the same as in en.txt.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Cjkjvfnby
AI Contributor
Posts: 451
Joined: Tue Jun 24, 2014 9:55 pm

Re: trans to spanish

#9 Post by Cjkjvfnby » Tue Dec 23, 2014 9:43 pm

Dilvish wrote:
Cjkjvfnby wrote:May be it is because my idea removed spaces at blank lines?
It doesn't really seem like that should have been a problem, but this latest patch did work fine, both for my diff viewer and for svn patch.
Looks like broken patch applyed for me with errors, so I add them to this patch (and looks like I used old trunk).
Fixes in attach.
Attachments

[The extension patch has been deactivated and can no longer be displayed.]

If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Cjkjvfnby
AI Contributor
Posts: 451
Joined: Tue Jun 24, 2014 9:55 pm

Re: trans to spanish

#10 Post by Cjkjvfnby » Sun Jan 18, 2015 8:19 pm

Cjkjvfnby wrote:
Dilvish wrote:
Cjkjvfnby wrote:May be it is because my idea removed spaces at blank lines?
It doesn't really seem like that should have been a problem, but this latest patch did work fine, both for my diff viewer and for svn patch.
Looks like broken patch applyed for me with errors, so I add them to this patch (and looks like I used old trunk).
Fixes in attach.
This patch is still actual.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

shivu

Re: trans to spanish

#11 Post by shivu » Fri Jan 23, 2015 3:55 pm

Add missing Entries in the common part.
This patch fixes the last big ships revision.

This patch belongs to es.txt (r7798).
Attachments

[The extension patch has been deactivated and can no longer be displayed.]


User avatar
Dilvish
AI Lead, Programmer
Posts: 4710
Joined: Sat Sep 22, 2012 6:25 pm

Re: trans to spanish

#12 Post by Dilvish » Thu Jan 29, 2015 7:58 pm

Cjkjvfnby wrote:This patch is still actual.
Committed.
shivu wrote:Add missing Entries in the common part....
This patch belongs to es.txt (r7798).
Hmm, this seems to add a lot of entries but leave them untranslated. If not present in the ES stringtable they should automatically get pulled from the EN stringtable, so there should be no need to add untranslated entries like this. Were you seeing some problem appear in the game?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Cjkjvfnby
AI Contributor
Posts: 451
Joined: Tue Jun 24, 2014 9:55 pm

Re: trans to spanish

#13 Post by Cjkjvfnby » Thu Jan 29, 2015 8:55 pm

Dilvish wrote:
Cjkjvfnby wrote:This patch is still actual.
Committed.
shivu wrote:Add missing Entries in the common part....
This patch belongs to es.txt (r7798).
Hmm, this seems to add a lot of entries but leave them untranslated. If not present in the ES stringtable they should automatically get pulled from the EN stringtable, so there should be no need to add untranslated entries like this. Were you seeing some problem appear in the game?
This is short version of patch with same english string removed.
It includes a lot of formating changes to have same structure as en.txt
Attachments

[The extension patch has been deactivated and can no longer be displayed.]

If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

shivu

Re: trans to spanish

#14 Post by shivu » Fri Jan 30, 2015 9:02 am

I perfectly now that the missing strings in a foreign language are taken by default in the en.txt. As well as they are not necessary, there is no reason to delete them.
My working way is so that I first introduce the English string then I translate. Having the English string in my “foreign version” helps me to find quickly what is not translated without to use a double editor where the view is reduced and full of superfluous colored differences.
Thanks to delete all my introducing, that way our job will never go out. :lol: :lol: :lol:

User avatar
Cjkjvfnby
AI Contributor
Posts: 451
Joined: Tue Jun 24, 2014 9:55 pm

Re: trans to spanish

#15 Post by Cjkjvfnby » Sat Jan 31, 2015 8:58 pm

shivu wrote:I perfectly now that the missing strings in a foreign language are taken by default in the en.txt. As well as they are not necessary, there is no reason to delete them.
I have reason to delete them. English text updated sometimes. If you already translate it to you language, you need to update it.
If you have old english text in you file, you will translate it not same as in en.txt
My working way is so that I first introduce the English string then I translate. Having the English string in my “foreign version” helps me to find quickly what is not translated without to use a double editor where the view is reduced and full of superfluous colored differences.
I have script that allow you to make full file for translation and shrink it to translated only before making patch.
Thanks to delete all my introducing, that way our job will never go out. :lol: :lol: :lol:
I don't understand what are you talking about.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

Post Reply