PDA

View Full Version : Tipps for Translation



Huxxxley
04-01-2010, 07:14 PM
First, you need the newest original language files in english.

They are in game/resources0.s2z

resources0.s2z is a renamed zip file so you can open it with any zip program like 7zip.

There in the file there is folder called "stringtables"

in there are the 4 files you need:
client_messages_en.str
entities_en.str
game_messages_en.str
interface_en.str

Also you need the 4 files for the language for that you want to translate
so when you want to translate to spanish

so you need the 4 files but with _es.str for example

you can use the programm line finder from http://www.heroesofnewerth.cz/clanek/translation-helper

or:
now you have to open client_messages_en and client_messages.es with the program winmerge (http://winmerge.org) (http://winmerge.com)

on the left side the english version and on the right side the spanish version

now you have to add lines from the left side to the right side where are grey lines

on the right side you have to add some more lines where the yellow lines are too

you do this for each of this 4 files

in the end you have on the left side and on the right side the same number of lines

in every line the first part of the line is the same but the second part of the line behind the blank spaces will be the translation on the right side

i hope i helped you witht the tipp with winmerge, sou you can easily see where lines are missing and you can easily jump to a specific line ...

in the end you have to put the new spanish language files into the folder "stringtables" in the file game/resources0.s2z

Zka_
04-02-2010, 03:01 PM
Well.. thanks for this, I didn't know about winmerge 'till now :D

Huxxxley
04-02-2010, 10:30 PM
you would maybe also interested in the patch i wrote:

http://forums.heroesofnewerth.com/showthread.php?t=96865

you can also create a patch for the community =) but its only for windows

Karnak
04-10-2010, 02:59 PM
good work, this is awesome =D

Huxxxley
04-10-2010, 04:32 PM
now we could create patches for windows and linux witht the help of the user H3LLSP4WN =)