• 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!

BUILD 14 BETA 3.1 Polish translation

Didn't Baste and Stryk see my messages? Do alerts have some time before they "expire" and aren't visible?
For now, translation is going a bit slower than I expected but stay tuned.
 
If someone wants to help, please post in this thread or PM me. I really need helpers. My lateness rate equals nearly 6 months now. I won't make it 'til August 2014 alone (I planned so).:(
 
Does someone know where the files from RESOURCE/INI/TEXTS/ENGLISH/HELPSECTIONS are used?
I hadn't found them anywhere in the game.:shrug
 
I tried the files that enabled language switching, and it gave me some information about how the Polish fonts are being used.

This is from the dialogue file for Malcolm Hatcher:
Code:
Wczoraj poprosi³e› mnie abym przypomnia³ Ci o sprawach które powinni›my dzisiaj za³atwiå.
This is text used for the "Ship" screen and the "Character" screen, from "common.ini":
Code:
; Ships parameters
string = Hull,"Kad³ub"
string = Sails,"¯agle"
string = Crew,"Za³oga"
string = Cannons,"Dzia³a"
string = Speed,"Szybko݌"
string = Maneuver,"Zwrotno݌"
string = Max.Caliber,"Maks. kaliber dzia³"
string = Max.Crew,"Maks. ilo›å za³ogi"
string = Min.Crew,"Min. ilo›å za³ogi"
string = Capacity,"£adowno›å"
string = Rig,"Takielunek"

; Character skills
string = Leadership,"Dowodzenie"
string = Fencing,"Walka"
string = Sailing,"¯eglarstwo"
string = Accuracy,"Celno݌"
string = Grappling,"Abordaž"
string = Repair,"Naprawa"
string = Defence,"Obrona"
string = Commerce,"Handel"
string = Sneak,"Szcz×›cie"
string = Free Skill Points,"Zdolno›ci"
string = Abilities,"Umiej×tno›ci"
As we can see, special characters are used, such as "³" and "¯".

The language support seems to make it possible to have the game in Polish, but I can't find any explanation on which characters to type to make the fonts appear properly in the game. The fonts_euro file isn't very clear, unfortunately.
If KK would have time, it would be useful if he could explain how to properly work with the fonts and all files involved.

Does someone know where the files from RESOURCE/INI/TEXTS/ENGLISH/HELPSECTIONS are used?
I hadn't found them anywhere in the game. :shrug
They are related to an unfinished and disabled help section, and thus aren't used. More information is in this thread: http://www.piratesahoy.net/threads/the-loading-screen-tips.19572/
 
  • Like
Reactions: fjx
The language support seems to make it possible to have the game in Polish, but I can't find any explanation on which characters to type to make the fonts appear properly in the game. The fonts_euro file isn't very clear, unfortunately.
If KK would have time, it would be useful if he could explain how to properly work with the fonts and all files involved.
Thank you very much for such good news! But from your post I don't exactly understand what is your problem. If you don't know which characters are which, I will post these here:
³ = ł
¯ = Ż
› = ś
å = ć
£ = Ł
ž = ż
× = ę
Unfortunately, these aren't all.

Maybe you can search "alt codes for Polish letters" if you know what alt codes are. And great thanks for your help once again.:onya
 
If KK would have time, it would be useful if he could explain how to properly work with the fonts and all files involved.
I'll try to contact him about that.

P.S. I found one active helper at Play in Polish forum.
 
Yeah, I thought about that afterwards, that I could try to use those characters and see what happens. It seems to make some progress:
Polish.jpg
The font files and textures seem to work, so it seems all that is needed is to know which characters correspond to which letters. :)
 
  • Like
Reactions: fjx
:)? :D:D:D:D:dance:onya:doff:cheersxD:monkeydance:cheeky:bow:pirateraft:thumbs1!!!!!!!!!
Thank you VERY much mate! I'll send you file with all Polish letters (attachment), you can post them here as "code", then I will post here full list of proper letters (like above) and it'll be done.:bowThanks again, awesome work.
 

Attachments

  • polskie litery.txt
    245 bytes · Views: 83
Thanks to the help we got from KK in PMs, I have found the characters to use for Polish letters. Some of them cannot be typed here so see the attached file. This is the result I get:
Polish 2.jpg
This should make translation easier. :)
 

Attachments

  • Polish.txt
    196 bytes · Views: 72
This may sound really weird and offtopic, but I found out that GoldBug storyline isn't logically translatable. What should I do with this?o_O And another problem: what's this code piece about (from common.ini)?
Code:
; nations
string = England,"England"
string = Britain,"Britain"
string = France,"France"
string = Spain,"Spain"
string = Pirate,"Pirate"
string = Holland,"Holland"
string = Portugal,"Portugal"
string = America,"United States"
; RM
string = Russian,"Russian"
string = English,"English"
string = French,"French"
string = Spanish,"Spanish"
string = Pirates,"Pirates"
string = Dutch,"Dutch"
string = Portuguese,"Portuguese"
string = American,"American"
string = British,"British"
; MAXIMUS
string = 1England,"England"
string = 1France,"France"
string = 1Spain,"Spain"
string = 1Pirate,"Pirate"
string = 1Pirates,"Pirate"
string = 1Holland,"Holland"
string = 1Portugal,"Portugal"
string = 1Britain,"Britain"
string = 1America,"United States"

string = 1English,"English"
string = 1French,"French"
string = 1Spanish,"Spanish"
string = 1Pirate,"pirate"
string = 1Pirates,"pirates"
string = 1Dutch,"Dutch"
string = 1Portuguese,"Portuguese"
string = 1British,"British"
string = 1American,"American"

string = 2English,"English"
string = 2French,"French"
string = 2Spanish,"Spanish"
string = 2Pirates,"Pirates"
string = 2Pirate,"Pirate"
string = 2Dutch,"Dutch"
string = 2Portuguese,"Portuguese"
string = 2British,"British"
string = 2American,"American"

string = 3England,"England"
string = 3France,"France"
string = 3Spain,"Spain"
string = 3Pirate,"Pirate"
string = 3Holland,"Holland"
string = 3Portugal,"Portugal"
string = 3Britain,"Britain"
string = 3America,"the United States"
string = 3no nation,"Pirate"

string = 4English,"English"
string = 4French,"French"
string = 4Spanish,"Spanish"
string = 4Pirate,"pirates"
string = 4Pirates,"pirates"
string = 4Dutch,"Dutch"
string = 4Portuguese,"Portuguese"
string = 4British,"British"
string = 4American,"American"

string = 5English,"English"
string = 5French,"French"
string = 5Spanish,"Spanish"
string = 5Pirate,"pirates"
string = 5Pirates,"pirates"
string = 5Dutch,"Dutch"
string = 5Portuguese,"Portuguese"
string = 5British,"British"
string = 5American,"American"

string = pEnglish,"England"
string = pFrench,"France"
string = pSpanish,"Spain"
string = pPirates,"Pirate"
string = pDutch,"Holland"
string = pPortuguese,"Portugal"
string = pBritish,"Britain"
string = pAmerican,"American"
string = pno nation,"Pirate"

string = pEngland,"England"
string = pFrance,"France"
string = pSpain,"Spain"
string = pPirate,"Pirate"
string = pHolland,"Holland"
string = pPortugal,"Portugal"
string = pBritain,"Britain"
string = pAmerica,"United States"

string = capEnglish,"English"
string = capFrench,"French"
string = capSpanish,"Spanish"
string = capPirate,"pirate"
string = capPirates,"pirates"
string = capDutch,"Dutch"
string = capPortuguese,"Portuguese"
string = capBritish,"British"
string = capAmerican,"American"
string = capno nation,"pirates"

string = swbritish,"British"
string = swenglish,"English"
string = swfrench,"French"
string = swspanish,"Spanish"
string = swdutch,"Dutch"
string = swportuguese,"Portuguese"
string = swamerican,"American"

string = s_w_british,"British"
string = s_w_english,"English"
string = s_w_french,"French"
string = s_w_spanish,"Spanish"
string = s_w_dutch,"Dutch"
string = s_w_portuguese,"Portuguese"
string = s_w_american,"American"

string = sw_british,"British"
string = sw_english,"English"
string = sw_french,"French"
string = sw_spanish,"Spanish"
string = sw_dutch,"Dutch"
string = sw_portuguese,"Portuguese"
string = sw_pirate,"pirate"
string = sw_american,"American"

string = gen_England,"Anglia"
string = gen_Britain,"Wielka Brytania"
string = gen_France,"Francja"
string = gen_Spain,"Hiszpania"
string = gen_Pirate,"Piraci"
string = gen_Holland,"Holandia"
string = gen_Portugal,"Portugalia"
string = gen_america,"Stany Zjednoczone"

string = adj_English,"English"
string = adj_British,"British"
string = adj_French,"French"
string = adj_Spanish,"Spanish"
string = adj_Pirate,"Pirates"
string = adj_Dutch,"Dutch"
string = adj_Portuguese,"Portuguese"
string = adj_American,"American"

string = d_british,"British"
string = d_english,"English"
string = d_french,"French"
string = d_spanish,"Spanish"
string = d_dutch,"Dutch"
string = d_portuguese,"Portuguese"
string = d_pirate,"pirate"
string = d_american,"American"
 
Last edited:
I found out that GoldNug storyline isn't logically translatable
You mean the english cipher in GOLDBUG?
I read this short story many years ago in a swedish translation and the cipher was in english
and that worked for the reader I think.
 
You put the character corresponding to the letter you want in the file you want the text. For example, to get that description text I put this in "standard.c" in PROGRAM\Storyline:
Code:
case "Polish":
            sl.(sn).title = "Nowe horyzonty";
            sl.(sn).description = "¥¹þå½×£³ýðÓ󍛏Ÿ¯ž";
Again, some characters cannot be shown.

I did this on Beta 2.5, but "Menu font.tga.tx" and "fonts_euro.ini" from Beta 2.3 are needed, since the headline font from the English-language European version that was added in Beta 2.5 doesn't have Polish letters. They go in RESOURCE\Textures\FONTS and RESOURCE\INI.

Are you using the translation files Pieter uploaded? If so, set the game to Polish and it should work, but as you know, you'll need to update the files. If not using them, create new "POLISH" folders and put everything from the "ENGLISH" folders in there in order to have updated files, and then change this code in "utils.c" in the PROGRAM folder:
Code:
string GetInterfaceLanguageName(int lnginterface)
{
    string slname = "English";
    switch (lnginterface) {
        case ILANG_RUS:
            slname = "Russian";
        break;
        case ILANG_FRA:
            slname = "French";
        break;
        case ILANG_GER:
            slname = "German";
        break;
        case ILANG_SPA:
            slname = "Spanish";
        break;
        case ILANG_POL:
            slname = "Polish";
        break;
    }
    return slname;
}
To this:
Code:
string GetInterfaceLanguageName(int lnginterface)
{
    string slname = "Polish";
    switch (lnginterface) {
        case ILANG_RUS:
            slname = "Russian";
        break;
        case ILANG_FRA:
            slname = "French";
        break;
        case ILANG_GER:
            slname = "German";
        break;
        case ILANG_SPA:
            slname = "Spanish";
        break;
        case ILANG_POL:
            slname = "Polish";
        break;
    }
    return slname;
}
Then translate the updated files, as you might already have done. I'm not sure if this is a good way to change the language, but I think it should work.

The characters might not look the same for you, so here is a screenshot of how it looks for me:
Characters.jpg

If they don't look the same, check the code KK showed us in the utils.c file.

I don't know about the storyline and the code piece, unfortunately.
 
Does this mean that whenever I type Polish letter, I gotta write some "bushes" instead of it? It'll take ages then.
And no, I'm not using Pieter's files, just POLISH folders. Thank you for this all, but now I got really confused.
 
Goldbug is not finished yet anyway, so I'd recommend not touching it.
Also, it is based on very complicated English literature so that's another reason to skip on it.

All those nation things are for different grammatical use in the Russian language.
I have no clue what the difference is though.
 
All those nation things are for different grammatical use in the Russian language.
I have no clue what the difference is though.
Then it may be same as Polish (both are slavic languages), does someone have Russian version of this file?
 
It must be in that Multilanguage Archive I uploaded a while ago, right?
 
Back
Top