Descentforum.DE Forum Index Descentforum.DE
Search | FAQ | Memberlist | Usergroups | Newsfeed Newsfeed  Register
Profile | Log in to check your private messages | Log in 
Chat | D3-Tactics | Downloads | Map | Links | Serverlist | Teamspeak 

German version of strings in BreakOut

 
Post new topic   Reply to topic    Descentforum.DE Forum Index -> English Embassy / International Descenters Forum
View previous topic :: View next topic  
Author Message
Foil
Forum-Nutzer


Joined: 06 Jan 2007
Posts: 48
Location: Denver, Colorado, US

PostPosted: 24.06.2009, 07:59    Post subject: German version of strings in BreakOut Reply with quote

Hi, guys.

I'd like to include German translations for the strings in the .str packed into the BreakOut.d3m. (I'm planning to release the final version as soon as this is done.)

The comments in the .str files indicates a "!G!" prefix for the German versions, but I'm not sure whether I have to replace the "!=!" English entries, or if I can have both in the same .str file.

So far, my only test method is to change the Language setting in the D3 Launcher, but I'm not sure it's a good test, as I got a number of "MISSING STRING" entries in my HUD.

Does anyone know how this should be done? I would appreciate any help. Thank you!

- Dave / [RIP]Foil
Back to top
View user's profile Send private message
Munk
Forum-Nutzer


Joined: 30 Jun 2001
Posts: 2140
Location: Herzogenrath

PostPosted: 24.06.2009, 08:54    Post subject: Reply with quote

Taken from coop.str

Quote:

!/!Current Restrictions:
!/!Maximum Line Length: 1024 characters
!/!Maximum Number of Lines Per String: 8 Lines
!/! Lines that begin with:
!/! !/! == comments (optional)
!/! !=! == English version of string
!/! !G! == German version of string
!/! !S! == Spanish version of string
!/! !I! == Italian version of string
!/! !F! == French version of string
!/!
!/! THERE MUST BE ENGLISH VERSIONS OF EACH STRING
!/!
!/! Note to localizers: All text when translated should stay very near the length of the
!/! English version, unless otherwise noted.
!/!
!/! Note to localizers: All %s,%d,%f and similar tokens MUST stay in the string, they will get replaced by:
!/! %s = another string
!/! %d = an integer value
!/! %f = a floating point number (a number with a decimal point)
!/! They may be moved around the string, but MUST stay in the same order (i.e. "%s got %d points" the %s must always come before %d)
!/!
!/! \t = insert a tab
!/! \n = force a newline
!/! \0-\255 = insert the number directly into byte


Examples:
Quote:

!/!5: Suicides label
!=!Suicides
!G!Selbstmorde
!S!Suicidios
!I!Suicidi
!F!Suicides

!/!8: Joined message when a player joins the game
!=!%s has joined the game
!G!%s hat sich dem Spiel angeschlossen
!S!%s se ha unido a la partida
!F!%s a rejoint la partie.
Back to top
View user's profile Send private message Send e-mail
Foil
Forum-Nutzer


Joined: 06 Jan 2007
Posts: 48
Location: Denver, Colorado, US

PostPosted: 24.06.2009, 09:27    Post subject: Reply with quote

I tried that, but got a bunch of "MISSING STRING" messages in my HUD.

Maybe I missed some of them; I'll try it again. Thank you, Munk.


Last edited by Foil on 24.06.2009, 09:27; edited 1 time in total
Back to top
View user's profile Send private message
Do_Checkor
Administrator


Joined: 19 Nov 2000
Posts: 7768
Location: Oldenburg (Oldb.)

PostPosted: 25.06.2009, 10:47    Post subject: Reply with quote

Cool! Thanks Foil - happy to hear you're going to release a final version soon!

The above described way should be correct actually, BTW...
Back to top
View user's profile Send private message
Foil
Forum-Nutzer


Joined: 06 Jan 2007
Posts: 48
Location: Denver, Colorado, US

PostPosted: 25.06.2009, 19:25    Post subject: Reply with quote

Thanks, Checkor.

Is changing the language in the D3 Launcher sufficient to test my changes?

--

P.S. Who should I contact about hosting the BreakOut release on DFiles?
Back to top
View user's profile Send private message
Do_Checkor
Administrator


Joined: 19 Nov 2000
Posts: 7768
Location: Oldenburg (Oldb.)

PostPosted: 25.06.2009, 19:46    Post subject: Reply with quote

Foil wrote:

Is changing the language in the D3 Launcher sufficient to test my changes?

--

P.S. Who should I contact about hosting the BreakOut release on DFiles?


The "German Version" is actually only a Europe-Version which comes among with other languages - having English as the default language. So if you can select "German" as your language in the launcher you're actually doing the exact same thing we do. I'd say "yes" then...

About hosting: That would be me again - just mail the mod to me if you're done...
Back to top
View user's profile Send private message
Foil
Forum-Nutzer


Joined: 06 Jan 2007
Posts: 48
Location: Denver, Colorado, US

PostPosted: 26.06.2009, 00:33    Post subject: Reply with quote

Will do. Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Descentforum.DE Forum Index -> English Embassy / International Descenters Forum All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
PayPal


Descent is a trademark of Interplay Productions.
Descent, Descent II are © Parallax Software Corporation.
Descent III is © Outrage Entertainment.
Descentforum.DE and Descentforum.NET is © by Martin "Do_Checkor" Timmermann.
Powered by phpBB © 2001-2008 phpBB Group