Today on Apolyton POLYCAST #58 (PROMO #9) MODCAST #23 CIVCON '09 ANNOUNCED: AUGUST 7-9, 2009 TRI-LEAGUE #27 BTS TEAM D.G.: ENGAGE NOW
Apolyton Civilization Site Forums
main | civ4 | col | civrev | galciv2 | alt | civ3 | civ2 | ctp2 | smac | about | polycast
- Order Civilization IV: Colonization (Amazon US)/(UK) -
- Order Civilization: Revolution [360] (Amazon US)/(UK) | [PS3] (US)/(UK) | [DS] (US)/(UK) -
ApolytonPLUS | register | new posts | pm (-/-) | members
faq | news | civgroups (news) | hall of fame | downloads | upload | plus | store | search
Apolyton Civilization Site Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Site Forums > Call To Power > CtP2 Source Code Project > PROJECT: The Translation Center
Page: Print | Email | Subscribe | Report News       0 votes -  average
30.Nov: POLYCAST EPISODE 58: `YOU DON`T WANT TO KNOW`
27.Nov: SAMPLE POLYCAST WITH `PROMO 9`
23.Nov: MODCAST #23: `ANGRY AUSTRALIANS`
CivGroups
CTP2 Source Code Project (77): Not a Member - Join

bottom of page
  GALACTIC CIVILIZATIONS $19.99 - CIV3 CONQUESTS $29.99 - CIV3 from $9.99 - SMAC+SMAX $19.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Martin Gühmann
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
Berlin, Germany
Mar 2001
time: 20:45
19-01-2004 17:25 | www
edit | quote
#1 | report |
PROJECT: The Translation Center Support Apolyton or Terrorists Win


This thread provides information to all people who want to translate altered language text files into their langauage.

So far we have full support for the German and the English version, also Japanese files are out that contain the additional strings but only in English.

The finished files from the altered source file project are:

..\ctp2_data\english\gamedata\add_str.txt
..\ctp2_data\english\gamedata\ldl_str.txt

..\ctp2_data\german\gamedata\add_str.txt
..\ctp2_data\german\gamedata\ldl_str.txt

Basicly you have to find the added strings in these text files and take the according text file of your language and add the new strings to your text file in your language.

For non programmers and non native English speakers: A string is a chain of characters. A character is a sign like a digist or a letter, like "GDDDDDDDDD121223nvdlhsff".


In add_str.txt you find the following new strings:

code:
str_ldl_MusicHotKey "Ctl+m"


In the English version this string was added right under str_ldl_SoundHotKey "Ctrl+v" in line 259.

In the English ldl_str.txt you find these block at line 2836:

code:
# Ranking Tab str_ldl_RANKING_MILITARY "Military" str_ldl_RANKING_ECONOMIC "Economic" str_ldl_RANKING_SCIENTIFIC "Scientific" str_ldl_RANKING_OVERALL "Overall" str_ldl_INFO_RANKING_TAB "Ranking" str_ldl_RANKING_POLLUTION "Pollution" str_ldl_RANKING_WONDER "Wonder" str_ldl_RANKING_RANK "Rank:" str_ldl_LINE_BUTTON "Line Graph" str_ldl_ZEROSUM_BUTTON "Zero Sum Graph"


These strings were inserted:

code:
str_ldl_RANKING_POLLUTION "Pollution" str_ldl_RANKING_WONDER "Wonder"


You have to insert also these two strings into your ldl_str.txt you can do it in the ranking tab block as well or something else in this file.

Another block of new strings you find the ldl_str.txt is this one at line 1514:

code:
### New World Shape Strings ### str_tbl_ldl_North_South_Wrap_Only "North-South Wrap Only" str_ldl_North_and_South_edges_of_the_map_connect "Noth and South edges of the map connect." str_ldl_Neptun_World "Neptun World" str_tbl_ldl_Neptun_World "Neptun World" ### New Single Player Game Player Screen Strings ### str_ldl_SPNGPS_NumPlayerSpinner "Number of players" str_ldl_SPNGPS_MaxPlayerSpinner "Maximum number of players" str_ldl_SPNGPS_PlayerSpinner "Start player" str_ldl_SPNGPS_NumPlayerText "Sets the number of players in the new game." str_ldl_SPNGPS_MaxPlayerText "Sets the maximum number of players that could occur in a game." str_ldl_SPNGPS_PlayerText "Sets the start player. Determines the civ color. (Does not work, yet.)" ### Added Disclaimer Strings ### str_ldl_Disclaimer1 "THIS MATERIAL IS NOT MADE OR SUPPORTED BY ACTIVISION." str_ldl_Disclaimer2 "This version of Call To Power 2 was developed at http://apolyton.net." str_ldl_Disclaimer3 "Contact the authors at ctp2source@apolyton.net." ### Version String ### str_ldl_version "2003-12-23"


All these strings have to be translated. Note that the stuff outside of the quotation marks are the internal names of the strings and must not be translated. Just the stuff inside the quotation marks must be translated.

You find the files you need to modify in your [b]..\ctp2_data\XXXXXX\gamedata\ folder, where XXXXXX stands for the name of your language for instance: french, italian or spanish

So I hope I get now some French, Italian and Spanish add_str.txt's and ldl_str.txt and maybe somemore.

-Martin

J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
England
Jul 2001
time: 19:45
21-01-2004 16:14 | www
edit | quote
#2 | report |
Inflate your Upload Space


Assuming you're talking about the planet, note that (in English) "Neptune" has another 'e' in it, at the end.

Tamerlin
Call to Power II Democracy GameCTP2 Source Code Project
King
Toulouse (South-western France)
Apr 2002
time: 20:45
22-01-2004 13:18
edit | quote
#3 | report |
Support Apolyton, buy Civilization III: Complete


I can translate the strings into French... If I am right, I have to patch my CtP2 with the source project file, find the add_str.txt and ldl_str.txt files and translate the content. Am I correct?

The Big Mc
CTP2 Source Code Project
King
Of the universe / England
Oct 2001
time: 19:45
22-01-2004 13:33 | www
edit | quote
#4 | report |
Help yourself to an AD-FREE life


will some one translate my English to proper English.

Martin Gühmann
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
Berlin, Germany
Mar 2001
time: 20:45
22-01-2004 17:25 | www
edit | quote
#5 | report |
Support Apolyton, buy Civilization III: Complete


quote:
Originally posted by Tamerlin
I can translate the strings into French... If I am right, I have to patch my CtP2 with the source project file, find the add_str.txt and ldl_str.txt files and translate the content. Am I correct?


For the first part you are correct.

Well for the second part you actual don't need to install the source patch, actual from the latest version only a uncompiled version is available.

Of course you can download these files for comparision, just to make shure that you insert the stuff at the same place. But actual you just need your two French files and insert somewhere the according strings I posted here in this thread.

And you don't need to translate the whole content of the English add_str.txt and ldl_str.txt, just take your own French versions of these files and add the strings and finally just translate the stuff you added. Otherwise you wouldn't be finished next year with this.

-Martin

Keygen
Call to Power PBEMCivilization IV: MultiplayerCTP2 Source Code ProjectCall To Power SuperLeaguePolyCast TeamCivilization IV PBEMBtS Tri-LeagueC4WDG Delian League
ACS Staff Member / Hosted Site Admin
Jan 2000
time: 21:45
23-01-2004 11:17 | www
edit | quote
#6 | report |
Tired of ads?


I might give a try for a Greek translation making this game possibly the first non-Greek game that will be fully translated to Greek, assuming that I will translate some time in the future the entire game

Martin Gühmann
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
Berlin, Germany
Mar 2001
time: 20:45
23-01-2004 20:41 | www
edit | quote
#7 | report |
Support Apolyton buy from Amazon


quote:
Originally posted by Keygen
I might give a try for a Greek translation making this game possibly the first non-Greek game that will be fully translated to Greek, assuming that I will translate some time in the future the entire game


That is an interesting project, Keygen. As far as I know ancient Greek is a highly inflected language I don't know how much is this true for modern Greek, but probably you have some more in Greek like just:

I go [no ending]
You go [no ending]
He goes [ending of third person singular]
She goes [ending of third person singular]
It goes [ending of third person singular]
We go [no ending]
You go [no ending]
They go [no ending]

And you have also the same personal pronoun for second person singular and plural.

German has more endings then English and also nouns are also inflected, as well verbs. So without the peoper forms you notice very well that someone wasn't able to translate soemthing correctly, like you can see in the German version of Civ2. A search for Middle English gives also results that can illustrate the problem.

CTP1 and CTP2 have in the German version huge str_loc.txt files, to solve the problem.

Another thing is that you shouldn't use the english directory to store your tanslated files like the translators for the Japanese version did.

To cope with this problem add a greek folder to all directories that contain an english folder. And open the civpath.txt and replace there the word English by Greek.

Of course for everyone else for other languages you have to replace greek by the name of your lanquage, if you aren't a Greek translator as well.

-Martin

Martin Gühmann
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
Berlin, Germany
Mar 2001
time: 20:45
31-01-2004 20:59 | www
edit | quote
#8 | report |
Support Apolyton, buy Alpha Centauri


Obviously I missed two Strings Fromafar added to the end of the ldl_str.txt:

code:
str_profile_CloseOnEyepoint "Close Message When Clicking Eyeball" str_profile_ShowExpensive "Show Expensive Tile Improvement Effects"


Here is my German version of these strings:

code:
str_profile_CloseOnEyepoint "Meldung schließen beim Klicken auf das Auge" str_profile_ShowExpensive "Kosten für Terrainverbes. auch bei Überschreitung der SB Reserve anzeigen"


Well I modified them for the German version as I felt this way they sound better, maybe a native English spaeker should check the English strings, too.

By the way is there any progress of translating of the few lines above and added them to the right file.

-Martin

Tamerlin
Call to Power II Democracy GameCTP2 Source Code Project
King
Toulouse (South-western France)
Apr 2002
time: 20:45
01-02-2004 16:54
edit | quote
#9 | report |
Lose 30 kilos (of popups)


Here are the add_str.txt and ldl_str.txt files with the new strings translated in French (including the last strings posted by Martin).

Attachment: newstrings_french_20040201.zip
This has been downloaded 8 time(s).

Tamerlin
Call to Power II Democracy GameCTP2 Source Code Project
King
Toulouse (South-western France)
Apr 2002
time: 20:45
01-02-2004 17:37
edit | quote
#10 | report |
Support Apolyton buy from Amazon


By the way Martin I am not sure I have properly understood what the following string means:

str_ldl_SPNGPS_MaxPlayerText "Sets the maximum number of players that could occur in a game."

I am a bit confused by the fact the default value is 0.

Martin Gühmann
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
Berlin, Germany
Mar 2001
time: 20:45
01-02-2004 18:12 | www
edit | quote
#11 | report |
Support Apolyton buy from Amazon


quote:
Originally posted by Tamerlin
By the way Martin I am not sure I have properly understood what the following string means:

str_ldl_SPNGPS_MaxPlayerText "Sets the maximum number of players that could occur in a game."

I am a bit confused by the fact the default value is 0.


Well afterwards I read this I don't understand it either, well I already noticed it some time ago that this is a little bit unprecise. It has to do with the MaxPlayer field in userprofile.txt, and determines the number up to that new players can be added in an existing game by revolts for example. If the maximum number of players is not reached, then every revolt generates a new civ, otherwise the revolting city becomes Barbarian.

So any suggestions to describe this in say two lines more properly?

-Martin

Tamerlin
Call to Power II Democracy GameCTP2 Source Code Project
King
Toulouse (South-western France)
Apr 2002
time: 20:45
01-02-2004 18:23
edit | quote
#12 | report |
Put an end to popups!


Thanks Martin, I think that it could be better like that:

str_ldl_SPNGPS_MaxPlayerText "Sets the maximum number of players that can appear during a game."

If you agree with this I will change my translation and post a new file.

Martin Gühmann
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
Berlin, Germany
Mar 2001
time: 20:45
01-02-2004 18:54 | www
edit | quote
#13 | report |
Support Apolyton, pre-order Civilization IV


quote:
Originally posted by Tamerlin
Thanks Martin, I think that it could be better like that:

str_ldl_SPNGPS_MaxPlayerText "Sets the maximum number of players that can appear during a game."

If you agree with this I will change my translation and post a new file.


I would like more precision but then I need much more lines that we don't have.

But anyway you can update your file and maybe you add also the updated English version, well for the German version I also have to come up with something maybe:

str_ldl_SPNGPS_MaxPlayerText "Setzt die Maximalanzahl der Spieler, die in einem Spiel erscheinen können."

Oh and please could you be so kind to update the German file as well.

-Martin

Tamerlin
Call to Power II Democracy GameCTP2 Source Code Project
King
Toulouse (South-western France)
Apr 2002
time: 20:45
01-02-2004 19:16
edit | quote
#14 | report |
Support Apolyton buy from Amazon


Your wishes are my orders...

Fixed new strings:

Attachment: newstrings_english_french_german_20040201.zip
This has been downloaded 10 time(s).

Tamerlin
Call to Power II Democracy GameCTP2 Source Code Project
King
Toulouse (South-western France)
Apr 2002
time: 20:45
01-02-2004 20:37
edit | quote
#15 | report |
Got spare money?


quote:
Originally posted by Martin Gühmann

I would like more precision but then I need much more lines that we don't have.


As far as I remember we plan to produce some documentation... this is typically the kind of settings that needs to be further explained into a future Apolyton CtP2 manual.

J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
England
Jul 2001
time: 19:45
02-02-2004 16:51 | www
edit | quote
#16 | report |
Enter the AD-FREE zone


How about "Sets the number of players which will not be exceeded by the creation of new players during a game" or just "Sets the number of players which will not be exceeded by the creation of new players".

Tamerlin
Call to Power II Democracy GameCTP2 Source Code Project
King
Toulouse (South-western France)
Apr 2002
time: 20:45
02-02-2004 18:04
edit | quote
#17 | report |
Support Apolyton, pre-order Civilization IV


IMO a translation like:

"Maximum number of civilizations that can be in play during a game"

...would be simpler and easier to understand, at least I think so.

If we can agree on a definition I will update the files when I post a new translation.

Martin Gühmann
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
Berlin, Germany
Mar 2001
time: 20:45
02-02-2004 18:59 | www
edit | quote
#18 | report |
Tired of ads?


As it is the players screen I prefer players.

First suggestion:

"Maximum number of players that can be in play during a game simulatniously."
"Maximalanzahl der Spieler, die gleichzeitig in einem Spiel sein können."

"Sets the number of players which will not be exceeded by the creation of new players."

"Setzt die Anzahl der Speler, welche durch das Einsetzen neuer Spieler nicht überschritten wird."

Well I rather prefer the first one also I would like have a Sets at the first place, but I think we can skip it.

-Martin

J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
England
Jul 2001
time: 19:45
02-02-2004 19:29 | www
edit | quote
#19 | report |
Support Apolyton


quote:
Originally posted by Tamerlin
IMO a translation like:

"Maximum number of civilizations that can be in play during a game"

...would be simpler and easier to understand, at least I think so.


The problem is that it's inaccurate, since you can start with more players than that, but it's not really a big deal.

Gilgamensch
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
King
France
Jun 2002
time: 20:45
04-02-2004 09:45
edit | quote
#20 | report |
Support Apolyton, buy Civilization 2


How about:

Maximum number of possible civilizations, including human player(s), in a new game?

Maximal Anzahl von moeglichen Zivilisationen, einschliesslich menschlicher Spieler, in einem neuen Spiel?



John, since when can you have more than MaxPLayer?

J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
England
Jul 2001
time: 19:45
04-02-2004 16:38 | www
edit | quote
#21 | report |
Support Apolyton


quote:
Originally posted by Gilgamensch
John, since when can you have more than MaxPLayer?


When you start with them. You can have MaxPlayer=0, but that doesn't mean that there will never be any players.

Gilgamensch
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
King
France
Jun 2002
time: 20:45
05-02-2004 10:38
edit | quote
#22 | report |
Got spare money?


I thought with the graphical interface you select the number of active CIV's and the maxplayer indicates, how many rebels can be there?

And no I never tried 0

J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
England
Jul 2001
time: 19:45
06-02-2004 14:32 | www
edit | quote
#23 | report |
Support Apolyton buy from Amazon


Well, Tamerlin said that the default value was zero, so I assumed it was possible.

Tamerlin
Call to Power II Democracy GameCTP2 Source Code Project
King
Toulouse (South-western France)
Apr 2002
time: 20:45
06-02-2004 14:40
edit | quote
#24 | report |
Support Apolyton or Terrorists Win


Yes I confirm that the default value displayed when you open the window is 0.

Martin Gühmann
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
Berlin, Germany
Mar 2001
time: 20:45
08-02-2004 23:11 | www
edit | quote
#25 | report |
Support Apolyton buy from Amazon


quote:
Originally posted by Gilgamensch
I thought with the graphical interface you select the number of active CIV's and the maxplayer indicates, how many rebels can be there?


No, that can be never determined before the start of the game, if you set MaxPlayer on 10 and you start with 8 civs, then players are added until 10 is reached. So if you can kill always a newly created civ than in theory the number of rebels is unlimited, because MaxPlayers is never reached.

If you set MaxPlayers=0 then whenever a city revolts it turns Barbarian. But if you start with 3 players and you set MaxPlayers to 2 then at least two players must be eleminated before new civs can be added.

-Martin

-Martin

Gilgamensch
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
King
France
Jun 2002
time: 20:45
09-02-2004 09:10
edit | quote
#26 | report |
Support Apolyton, pre-order Civilization IV


Thanks Martin,

NOW (even me) understands

Martin Gühmann