• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Need Help Updating the Russian Translation

Most of that will be fixed when you translate some new lines in this version of "interface_strings.txt":
Lines 3-4: for deleting profiles
Lines 1175-1190: locations including the ones you found
Line 1321: "You unlocked the perk:"
Lines 1373-1388: directions for reporting things sighted at sea
Lines 2346 to end: text on worldmap

I don't know why "Sir George Nugent" is not being translated. That is the normal name for the governor of Kingston in "Napoleonic" period, assigned in "PROGRAM\Periods.c" and translated in "RESOURCE\INI\TEXTS\RUSSIAN\periods_strings.txt". Check your version of "periods_strings.txt" - look for "Sir George" and "Nugent" separately.
 

Attachments

  • interface_strings.txt
    133 KB · Views: 71
Last edited:
Most of that will be fixed when you translate some new lines in this version of "interface_strings.txt":
Lines 3-4: for deleting profiles
Lines 1175-1190: locations including the ones you found
Line 1321: "You unlocked the perk:"
Lines 1373-1388: directions for reporting things sighted at sea
Lines 2346 to end: text on worldmap
Translated and uploaded: Корсары 2 Новые горизонты (перевод AkrimalS)
I don't know why "Sir George Nugent" is not being translated. That is the normal name for the governor of Kingston in "Napoleonic" period, assigned in "PROGRAM\Periods.c" and translated in "RESOURCE\INI\TEXTS\RUSSIAN\periods_strings.txt". Check your version of "periods_strings.txt" - look for "Sir George" and "Nugent" separately.
Everything seems to be in order, I don't know what's wrong
 
I've found out why "Sir Charles Nugent" is not being translated. No governor names are being translated! As a first attempt at a fix, I've started modifying "PROGRAM\Periods.c", e.g.:
Code:
    period.Towns.Redmond.gov.name = "Sir George";
    period.Towns.Redmond.gov.lastname = "Ayscue";
... becomes...
Code:
    period.Towns.Redmond.gov.name = GetTranslatedPeriod("Sir George");
    period.Towns.Redmond.gov.lastname = GetTranslatedPeriod("Ayscue");
And that worked.
russian_governor1.jpg

However, that involves going through all the governor names in "Periods.c" and adding 'GetTranslatedPeriod' to them. Before going that far, I want to see if I can find out where the name is transferred to the governor. Those lines set attributes for the period, not for the governor character. If I can find where governors are set to use his period name, I can translate them there, adding 'GetTranslatedPeriod' to a few commands rather than to every single governor name.
 
As you asked - translation of ship names.
Put that into "PROGRAM\Ships". Download this file and put it into "PROGRAM\Ships" as well. Then start a new game, go to sea, find a random ship and see if its name is translated.

If ships now have no names, or if the game crashes, upload "error.log".
 

Attachments

  • Ships.c
    37.4 KB · Views: 65
Put that into "PROGRAM\Ships". Download this file and put it into "PROGRAM\Ships" as well. Then start a new game, go to sea, find a random ship and see if its name is translated.

If ships now have no names, or if the game crashes, upload "error.log".
It seems to work!
 

Attachments

  • 345354.png
    345354.png
    504 KB · Views: 61
  • 23532.png
    23532.png
    556.1 KB · Views: 77
  • 2532367.png
    2532367.png
    536.8 KB · Views: 69
Now put this into "PROGRAM\Towns" and start a new game. Function 'AddTown' tries to translate governor names from "Periods.c" but it uses 'TranslateString'. This does not look at "periods_strings.txt". I've changed 'AddTown' to use 'GetTranslatedPeriod' instead. And now:
russian_governor2.jpg
 

Attachments

  • Towntable.c
    65.4 KB · Views: 72
I couldn't get past Hornblower's thread yesterday. After talking at the lighthouse with Lieutenant Qualp in Bridgetown, Lieutenant Bush is nowhere to be found. Here is the save and compile.log..

Also, the surname Sawyer is not translated.
 

Attachments

  • Desktop.7z
    632.5 KB · Views: 63
  • 523523.png
    523523.png
    781.8 KB · Views: 67
After you talked to Quelp, did you go up to the lighthouse? Did you also talk to Sharpe? The last dialog you should have had with Sharpe before going back to Bridgetown would be in "Richard Sharpe_dialog.h", lines 226-229. In English:
Richard Sharpe said:
This makes no sense at all, and yet again if our Mr. Quelp is involved, things don't go according to plan.
Horatio Hornblower said:
Well we aren't going to find any answers here.
Richard Sharpe said:
No, and right now we don't have the resources to follow it further. We will have to wait for better times. I must take my men back or we'll be up for desertion! I will be keeping an eye on Mr. Quelp though. See you again sometime Horatio.
Horatio Hornblower said:
Yes, take care. I suppose I should go back to Bridgetown, but it seems the game is over for now.
If you have not had this dialog then nothing will happen in Bridgetown.

I don't know why "Sawyer" is not being translated. It should be in "RESOURCE\INI\TEXTS\RUSSIAN\Storyline\Hornblower\characters_names.txt". In my version of the Russian file, it's on line 43.
 
You need to go up to the lighthouse where the bodies are. Walk around - you have to hit a special spot on the ground before the next dialog happens. It is not marked so you just need to keep searching until Sharpe talks to you.
 
You need to go up to the lighthouse where the bodies are. Walk around - you have to hit a special spot on the ground before the next dialog happens. It is not marked so you just need to keep searching until Sharpe talks to you.
I ran around these corpses for about 5 minutes, then ran around the lighthouse and nothing happened. Then I got up from hopelessness to the door and turned to the corpses, and only then did this locator work. Why does it have such a small radius?
 
There's supposed to be a command to make it bigger but it doesn't work. I'll see if I can make the locator bigger when you need to go there to trigger the dialog.
 
At the moment I'm taking a break from fixing and probably for now I'll be making audio files of the Russian version. The plots of Jack Sparrow and Hornblower are in good condition, the only thing that I did not watch was the side quests.

Paste these lines into your quests_reaction.c to make Hornblower's Russian videos work.
PROGRAM\Storyline\Hornblower\quests\quests_reaction.c
1024 line - if(LanguageGetLanguage() == "RUSSIAN") PostVideoAndQuest("Hornblower\RUSSIAN\Declaration of War", 100, "");
else PostVideoAndQuest("Hornblower\Declaration of War", 100, "");
1628 line - if(LanguageGetLanguage() == "RUSSIAN") PostVideoAndQuest("Hornblower\RUSSIAN\Capture Le Reve", 100, "Back_to_the_Indy");
else PostVideoAndQuest("Hornblower\Capture Le Reve", 100, "Back_to_the_Indy");
3283 line - if(LanguageGetLanguage() == "RUSSIAN") PostVideoAndQuest("Hornblower\RUSSIAN\Le Reve Capture", 100, "Go_to_Beach_for_Prison");
else PostVideoAndQuest("Hornblower\Le Reve Capture", 100, "Go_to_Beach_for_Prison");
4230 line - if(LanguageGetLanguage() == "RUSSIAN") PostVideoAndQuest("Hornblower\RUSSIAN\SHIPWRECK_0001", 100, "Again_Back_to_the_Indy");
else PostVideoAndQuest("Hornblower\SHIPWRECK_0001", 100, "Again_Back_to_the_Indy");

And one video in the history of Hauk
PROGRAM\Storyline\standard\quests\quests_reaction.c
3581 line - if(LanguageGetLanguage() == "RUSSIAN") PostVideoAndQuest("standard\RUSSIAN\ending", 100, "credits");
else PostVideoAndQuest("standard\ending", 100, "credits");

There are also a few more untranslated
1)The beach is not translated, apparently because of the point.
2)Mason says to call her Ellen and a new name appears.
3)Problem with Sawyer not solved?
4)At the wedding, I need to correct Maria's consent, it is not correct. Maria Mason_dialog does not have this dialog. Where to find it?
 

Attachments

  • 23526.png
    23526.png
    1.1 MB · Views: 52
  • 252323.png
    252323.png
    732.9 KB · Views: 46
  • 523523.png
    523523.png
    781.8 KB · Views: 58
  • 525235.png
    525235.png
    662.2 KB · Views: 66
1: Try the attached version of "interface_strings.txt". I've added a new entry for "Boca de Yuman.", and also one for "Boca de Hubon." which probably does the same.
2: Attached is "RESOURCE\INI\TEXTS\RUSSIAN\Storyline\Hornblower\characters_names.txt" with a new entry for "Ellen" on line 59, which you'll need to translate. The command to give Mrs. Mason the new name already has 'TranslateString', so you should see the translated version if you translate the name and then load a savegame from before the wedding.

Also attached are updated versions of "PROGRAM\DIALOGS\Gov MR_dialog.c" and Russian "shipslog_strings.txt". If you check your ship's log after the wedding at the moment, it will probably have an entry in English about the wedding. If you use these new files and then play the wedding again, the ship's log should be translated.
3. I have no idea why that happens. "Sawyer" is in "characters_names.txt".
4: During the wedding, Maria Mason uses "Gov MR_dialog.h". Look at line 63.
 

Attachments

  • interface_strings.txt
    133.1 KB · Views: 61
  • characters_names.txt
    2.1 KB · Views: 62
  • Gov MR_dialog.c
    16.5 KB · Views: 62
  • shipslog_strings.txt
    63.3 KB · Views: 71
Last edited:
1: Try the attached version of "interface_strings.txt". I've added a new entry for "Boca de Yuman.", and also one for "Boca de Hubon." which probably does the same.
2: Attached is "RESOURCE\INI\TEXTS\RUSSIAN\Storyline\Hornblower\characters_names.txt" with a new entry for "Ellen" on line 59, which you'll need to translate. The command to give Mrs. Mason the new name already has 'TranslateString', so you should see the translated version if you translate the name and then load a savegame from before the wedding.

Also attached are updated versions of "PROGRAM\DIALOGS\Gov MR_dialog.c" and Russian "shipslog_strings.txt". If you check your ship's log after the wedding at the moment, it will probably have an entry in English about the wedding. If you use these new files and then play the wedding again, the ship's log should be translated.
3. I have no idea why that happens. "Sawyer" is in "characters_names.txt".
4: During the wedding, Maria Mason uses "Gov MR_dialog.h". Look at line 63.
All fixed and uploaded. You can download all files.
 
Here's "RESOURCE\INI\TEXTS\RUSSIAN\Storyline\JackSparrow\storyline_strings.txt" with a lot of ship names added. If you translate them, quest ships should appear with translated names next time you play this storyline, including the ship you receive when you become Jack Sparrow and arrive at Cayman.
 

Attachments

  • storyline_strings.txt
    1.6 KB · Views: 59
here is the interface_strings file with the addition of Bullen Bay and the translated storyline_strings
 

Attachments

  • interface_strings.txt
    133.2 KB · Views: 72
  • storyline_strings.txt
    1.5 KB · Views: 65
Here's another version of "interface_strings.txt". This one has the line "ALARM! AN AMBUSH!!!" (line 195) corrected to match the original text in "PROGRAM\CCCFunctions.c". Also added and needing to be translated is line 1063, "Smuggler's Home".
 

Attachments

  • interface_strings.txt
    133.2 KB · Views: 63
Here's another version of "interface_strings.txt". This one has the line "ALARM! AN AMBUSH!!!" (line 195) corrected to match the original text in "PROGRAM\CCCFunctions.c". Also added and needing to be translated is line 1063, "Smuggler's Home".
 

Attachments

  • interface_strings.txt
    133.2 KB · Views: 66
Back
Top