Author Topic: Game Translation  (Read 2010 times)

Kennyyyyy

  • Posts: 17
  • Turrets: +2/-4
Game Translation
« on: January 24, 2009, 04:03:22 pm »
Hi,

i wanted to translate Tremulous into german but it seems that this isn't working.

I took the data-1.1.0.pk3 extracted it and translated all places with "text". Then i compressed it with Xarchiver and renamed to data-1.1.0.pk3. The menu works in german at my client but by another one it doesn't work. Ingame is also completely english. I know that this should only work in normal trem which uses the data pk3 in the base folder. But it seems that this isn't really working.

Now i hope that you can help me...  :'(

Thanks
Greetings

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Game Translation
« Reply #1 on: January 24, 2009, 04:11:35 pm »
90% of the text is complied into the qvm, which has to be consistent across all clients and the server.
Also editing data-1.1.0.pk3 is a bad idea, make a new pk3 with just the files you changed in it.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Kennyyyyy

  • Posts: 17
  • Turrets: +2/-4
Re: Game Translation
« Reply #2 on: January 24, 2009, 04:50:14 pm »
Ah ok, thanks.
So how can i install this pk3 which i create?

Or is it possible to make a translation with a hud file? *thinking*

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Game Translation
« Reply #3 on: January 25, 2009, 11:10:40 am »
Files are loaded in a particular order (alpha sorted, within a given path location) and when multiple copies of the same file are loaded, whichever was loaded last stays. So, if you wanted to override a file in data-1.1.0.pk3, you could make another pk3 file with those modified files in it (using the same names and paths within the pk3/zip file as were in data-1.1.0). Then, put your new pk3 in the same place as data-1.1.0.pk3 and name it anything that's alpha-sorted after data-1.1.0.pk3. Perhaps you'd go for data-german.pk3 or something.

That said, as David said, much of the text isn't actually in the .menu files and is instead hard-coded, so there's that problem on top of your not being able to use a (modded) pk3 on pure servers without those servers having the same pk3 installed (though they can make having that pk3 optional for their users). Currently the game isn't written in a way that's particularly conducive to translations. Sorry :(

Kennyyyyy

  • Posts: 17
  • Turrets: +2/-4
Re: Game Translation
« Reply #4 on: February 01, 2009, 12:21:01 pm »
Sorry for not answering. :D

Ok, then i say thank you very much for the answers. I will see if this way with the pk3 works. I will speak with the serveradmin in my clan.