View previous topic :: View next topic |
Author |
Message |
Foil Forum-Nutzer
Joined: 06 Jan 2007 Posts: 48
Location: Denver, Colorado, US
|
Posted: 24.06.2009, 07:59 Post subject: German version of strings in BreakOut |
|
|
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 |
|
|
Munk Forum-Nutzer
Joined: 30 Jun 2001 Posts: 2140
Location: Herzogenrath
|
Posted: 24.06.2009, 08:54 Post subject: |
|
|
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 |
|
|
Foil Forum-Nutzer
Joined: 06 Jan 2007 Posts: 48
Location: Denver, Colorado, US
|
Posted: 24.06.2009, 09:27 Post subject: |
|
|
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 |
|
|
Do_Checkor Administrator
Joined: 19 Nov 2000 Posts: 7772
Location: Oldenburg (Oldb.)
|
Posted: 25.06.2009, 10:47 Post subject: |
|
|
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 |
|
|
Foil Forum-Nutzer
Joined: 06 Jan 2007 Posts: 48
Location: Denver, Colorado, US
|
Posted: 25.06.2009, 19:25 Post subject: |
|
|
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 |
|
|
Do_Checkor Administrator
Joined: 19 Nov 2000 Posts: 7772
Location: Oldenburg (Oldb.)
|
Posted: 25.06.2009, 19:46 Post subject: |
|
|
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 |
|
|
Foil Forum-Nutzer
Joined: 06 Jan 2007 Posts: 48
Location: Denver, Colorado, US
|
Posted: 26.06.2009, 00:33 Post subject: |
|
|
Will do. Thank you!
|
|
Back to top |
|
|
|