1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

WIP Spanish translation

Discussion in 'Build Beta and Brainstorming' started by DiegoEspinoza, Mar 27, 2010.

  1. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    How definitive and stable are the post 31 August fixes? Should I install them before starting to update the translation or it would be better to stay in the main release
     
  2. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    67,084
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    @Grey Roger could confirm for sure, but as far as I understand, that archive is very stable and I would definitely recommend including them in your translation.
    Especially this one would probably be very relevant for you: "Many dialogs changed to react correctly to female player characters - @DeathDaisy 21/9/17"
     
    Homo eructus likes this.
  3. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    Good enough for me.

    And, as an apetizer of things to come (hopefully), I'll upload my revised Spanish character names.
     

    Attached Files:

    Pieter Boelen likes this.
  4. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,764
    It should be as stable as the main release.

    Some more dialogs are going to change when the next set of fixes is released, partly to finish off @DeathDaisy's work for female characters in general, and partly because I've been playing with the "Tales of a Sea Hawk" storyline to change Danielle Greene into Nathaniel Hawk when you play as a female character. That means a few dialogs in the main "PROGRAM\DIALOGS" folder will need to be translated again, but mainly it means you may want to wait before doing anything to "PROGRAM\Storyline\standard\DIALOGS".
     
    Pieter Boelen likes this.
  5. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,764
    You've left out "de Alencar"! That's not going to make the governor of San Juan very happy. ;) And I know it's a valid name because a quick Internet search turns up some real people with that name.
     
  6. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    I think he means the scene being all messy when you walk on deck in those small-ish ships. But the answer is the same: Stock game model originally used for boarding sections.

    Not all of the names I've removed were incorrect, some were just very rare, or had to go to make room for some certain names that I wanted to get in (as kind of easter eggs, there are names of several famous Spanish seafarers), as I wanted to keep the same number of entries. Don't know exactly why I removed de Alencar but here it is restored.
     

    Attached Files:

  7. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,764
    I've already restored de Alencar along with a few more. It seems the game is not concerned if the number of entries is the same; I didn't need to take out any of your new names to make way for the restored old ones, and the game still worked. Meanwhile, those Spanish names which I'd used from the original list in my "Ardent" storyline, which aren't in the new list, and which didn't pass the Internet search test, have been replaced with names from your new list. For example, prison commandant Argibaio Galindez will henceforth be Atanagildo GalĂ­ndez.
     
    Homo eructus likes this.
  8. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    67,084
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    I think that's indeed true, but it does surprise me.
    The code looks like a function with inputs, but usually the number of inputs needs to be always the same for the same function.
    So I haven't a clue how they managed to make it so flexible here. o_O
     
  9. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,764
    The name arrays are all defined in "globals.c", initially at size 2:
    Code:
    string    sSpManNames[2], sSpWomenNames[2], sSpFamilies[2];
    Presumably somewhere the arrays are expanded to fit the lists.
     
    Pieter Boelen likes this.
  10. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    I've found this new string in common.ini

    string = Barkentine,"Barquentine"

    But I can't find any ship called barquentine in the game or any mention to either barkentine or barquentine in ships.init or anywhere else, only in pictures.ini where a comment says that it shares a picture with BarqueHeavy "for now". Is it an unfinished ship not yet added to the game or something?
     
  11. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,764
    I tried to import a barquentine from a different game, specifically the "Gentlemen of Fortune" mod for "City of Abandoned Ships". There's a snag, though. The ship model is messed up so that lighting is wrong. If the port side is facing the sun, it's the starboard side which is brightly lit and the port side which is in darkened shadow. So I took it back out again. I have an idea for a different barquentine, so I've left some of the supporting work in place. There's going to be a barquentine in the game at some point, whether someone fixes the CoAS model or whether I knock up my own based on one of PoTC's barque models with a different sail plan...
     
    Homo eructus likes this.
  12. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    I was updating the PROGRAM files with the changes I made to them for the translation, and an error popped up when trying to start the game to test.
    The line reads
    Code:
        for(int i=0; i<GetAttributesNum(cLoctr); i++)
    I 've done a couple of things in dialog_func.c but I didn't touch that line.

    What have I broken now?
     
  13. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    67,084
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Did you add an 'int i' definition somewhere else?
    Or otherwise perhaps missed a bracket?
     
  14. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    Not that I know of.

    The bracket thing seems more likely. Does it have to be in that same file or could it be in any other? Because I've been through quite a few of them today.
     
  15. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    67,084
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    It could indeed be in another file as well.
     
  16. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    On the bright side, it looks like whatever it was, it was indeed in dialog_func. After reverting the changes the game works again, so I only have to check that file
     
    Pieter Boelen likes this.
  17. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    Still don't know what it was but it's fixed

    Also, the weekday wasn't displaying on the date in Spanish, so I tried removing the XI_ConvertString that I had added in the first place to the weekdays in calendar.c. It fixed it, so I guess there's another function somewhere in the new version that relays those instances to common.ini to be translated and it didn't like the redundance. The months still use the XI_ConvertString though. Odd.
     
    Pieter Boelen likes this.
  18. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    67,084
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    As long as it works, I suppose... o_O
     
  19. Homo eructus

    Homo eructus Freebooter Storm Modder

    Joined:
    Sep 4, 2014
    Messages:
    374
    Gender:
    Male
    All things considered, the merging is going more smoothly than I had feared it would, but there's still some issues here and there.

    Remember this switch I made to change the word order for the morale logs in DailyCrewUpdate.c?
    Code:
    if (morale <= 10) KAM_Mutiny(); //MAXIMUS: new "Mutiny"
                    switch (LanguageGetLanguage()) {
                    case "Spanish":
                        if(LogsToggle > LOG_QUIET) Log_SetStringToLog(TranslateString("","The crew now has") + " " + XI_ConvertString("morale") + " " + XI_ConvertString(GetMoraleName(morale)) + " (" + makeint(morale) + ").");
                  
                        break;
                        // default:
            if(LogsToggle > LOG_QUIET) Log_SetStringToLog(TranslateString("","The crew now has") + " " + XI_ConvertString(GetMoraleName(morale)) + " " + XI_ConvertString("morale") + " (" + makeint(morale) + ").");
    At the time it worked, but when I added it to the new file, the game doesn't start and this error happens
    The line mentioned seems to be related to the maximum number of ships allowed in one location. How does that relate to a language switch for the morale logs beats me.
     
    Last edited: Nov 6, 2017
  20. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    67,084
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands
    Is there a } after the section of code you posted?
    It looks like it needs one, but I seem to have missed it.
     
    Homo eructus likes this.

Share This Page