Page 1 of 1

Spanish Translation

Posted: Mon Feb 16, 2009 9:30 pm
by MC707
Does anybody know if there is the spanish version of VS? I ask because I searched the forums a bit, but found no confirmation that somebody is done translating VS to spanish. Maybe I could help doing the translation, but (from what I've heard of) you need some C++ or python knowledge (which I don't possess). My skills in spanish and english are pretty damn good, so I think I could translate the game.

EDIT
I will be translating (slowly, I am alone) in a period of time. Anyone willing to help is free to do so. Note if anyone helps me, I will moderate whatever is translated before I give that to an administrator so he/she put it in SVN (I think). I will moderate since some people might want to "help" using a translation program, which in my experience is terrible for translating.
Translation Progress:
- Aera communications done.
- Andolian communications done.

Re: Spanish Translation

Posted: Mon Feb 16, 2009 9:48 pm
by loki1950
The only Python code involved is because some of the strings that need translating are in Python scripts so some knowledge is needed but no much the rest are in csv and xml files.

Enjoy the Choice :)

Re: Spanish Translation

Posted: Mon Feb 16, 2009 9:55 pm
by MC707
Soooo.... what do I do to translate? I mean, which files do I modify or what? and who would I send the files?

Re: Spanish Translation

Posted: Mon Feb 16, 2009 10:05 pm
by loki1950
I would keep all the files that you have translated in one place the German guys used a svn repo here on sourceforge as a separate project but think about it for a while and you may attract some helpers if they see activity here on the forum :wink:

Enjoy the Choice :)

Re: Spanish Translation

Posted: Tue Feb 17, 2009 3:20 am
by MC707
Ok so I send the files to you as attachments or something? Oh, and I assume only the data folder needs translation?
Yes, some little help would be nice :) I would lead of course :wink: I'm feeling alone though :cry:

Re: Spanish Translation

Posted: Mon Feb 23, 2009 9:47 am
by ace123
Any luck with this?
It's up to you how you want to do this. If you want you can make a sourceforge project like the german translation did.
Or, you can email or upload them and send to one of the developers--it's easy to make branches in subversion that hold the translated data.

The cleaner you make your format, the easier it will be. You can start with the simple XML files, or you can go directly to the Python code, and to translate strings, you can do something like this:

Code: Select all

all_strings = {'en': {
    "cargomissiondesc": "This cargo mission will cost %f and go to the system %s",
    },
    'es': {
    "cargomissiondesc": "Esta misión tendrá un costo de carga %f e ir al sistema de %s", # (Sorry if this makes no sense -- I ran it through google translate)
    }
  }
LANG='es'
strings = all_strings[LANG]
And then where you see that text, replace it with strings["cargomissiondesc"]

But python code may be tricky to start with so you can try some of the other text--the way I pick something is to play the game and see something that strikes me as important to get translated. For example the help text on screen, or maybe the communictations, or the bartender's speech. Don't waste your time translating stuff that nobody ever will see!

Re: Spanish Translation

Posted: Mon Feb 23, 2009 7:16 pm
by MC707
Thanks for the help ace!!! :D Yes, as you said I began with simple XML files, communications specifically. I started and have done quite a number of comm translations, so I will keep updating the list of translated stuff in my first post of this thread. Again, thanks for your help ace. Might learn a bit of python as well :wink:

Re: Spanish Translation

Posted: Fri Aug 27, 2010 12:40 am
by NeilStrauss
MC707, I could help you with it. Ask me.