1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. Photobucket has changed its policy concerning hotlinking images and now requires an account with a $399.00 annual fee to allow hotlink. More information is available at: this link.
    Dismiss Notice
  3. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  4. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  5. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  6. Dismiss Notice
  7. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

[Translation of main mod] Help needed !

Discussion in 'Rise of Mankind: A New Dawn' started by dbkblk, May 22, 2014.

  1. 45°38'N-13°47'E

    45°38'N-13°47'E Chieftain

    Joined:
    Jun 7, 2008
    Messages:
    5,591
    Location:
    Just wonder...
    Uh, AI shouldn't spam requests anyway. FTA can only be requested and signed if two civs are friendly with each other: not even polite is enough. Anyway the only way to disable it is to deselect Advanced Diplomacy before starting a game.
     
  2. dbkblk

    dbkblk Chieftain

    Joined:
    Oct 28, 2005
    Messages:
    1,774
    Location:
    France
    I've just updated the translations :)
     
  3. dbkblk

    dbkblk Chieftain

    Joined:
    Oct 28, 2005
    Messages:
    1,774
    Location:
    France
    Just for the information, I've made a script which push english strings on Transifex automatically everyday (if a new rev is found), because Transifex wasn't grabbing the files correctly from Afforess' server.

    Now, I'm quickly making a script which will automatically commit a new revision with updated language strings every month so we can ensure string update on a better frequency.

    Everything is run locally on my PC, but that shouldn't cause any problem.
     
  4. 45°38'N-13°47'E

    45°38'N-13°47'E Chieftain

    Joined:
    Jun 7, 2008
    Messages:
    5,591
    Location:
    Just wonder...
    That's a great job!! Thank you dbk!
     
  5. Vokarya

    Vokarya Chieftain

    Joined:
    Mar 25, 2011
    Messages:
    5,465
    You might want to look into debugging your scripts some more. I think you accidentally gutted a couple of files. I found INTERFACE.xml, LEADERS_PEDIA.xml, MISC.xml, and STRATEGIES_PEDIA.xml had chunks of text missing in rev1029. I went into my working copy of AND and replaced the missing text in rev1030.
     
  6. dbkblk

    dbkblk Chieftain

    Joined:
    Oct 28, 2005
    Messages:
    1,774
    Location:
    France
    Thank you for the backup Vokarya. I'll check the script again!
     
  7. Dreifels

    Dreifels Chieftain

    Joined:
    Nov 21, 2001
    Messages:
    584
    Location:
    Europe
    as I post (maybe wrong) at http://forums.civfanatics.com/showpost.php?p=14441600&postcount=5407

    there are lot of typing mistakes in German and, what is causing some problems, wrong charset issues:

    maybe not only an UTF8-Problem, as by that wrong/invalid/empty chars get shown in game and when do a sav an try to reload:

    There are several of such wrong chars, but this is the most problematic one:
    Beyond the Sword\Mods\Rise of Mankind - A New Dawn\Assets\XML\Text\LEADERS.xml (2 hits)
    Line 2341: <English>Suppiluliuma</English>
    Line 2342: <German>Šuppiluliuma</German>

    Same in other xml files

    Looks for me as someone with Czech or French (?) keyboard typed the xml files w/o changing his keyboard charset

    UTF8 in game cannot handle such, it converts the char as an unknown char => ?

    the first char of Suppiluliuma in German does not exist in German language and by that is shown in game as ? and when store a sav as another invalid char, and when load the sav as two empty fields.

    I made some times ago a total scan of all xml for such wrong chars and corrected them, but with the next svn update all got overwritten again and so lost.
    You need to scan all xml for special characters (special in German version) and replace them by the English notation.

    with quick search I found two just now:

    F:\Civ_4\Beyond the Sword\Mods\Rise of Mankind - A New Dawn\Assets\XML\Text\LEADERS.xml (2 hits)
    Line 2341: <English>Suppiluliuma</English>
    Line 2342: <German>Šuppiluliuma</German>

    F:\Civ_4\Beyond the Sword\Mods\Rise of Mankind - A New Dawn\Assets\XML\Text\RELIGIONS.xml (6 hits)
    Line 1314: <Tag>TXT_KEY_RELIGION_SHINTO</Tag>
    Line 1315: <English>Shinto</English>
    Line 1316: <French>Shintoïsme </French>
    Line 1317: <Finnish>shintolainen</Finnish>
    Line 1320: <German>Shint&#333;</German>

    for german charset look here:
    http://www.webmaster-seo.com/unicode/language/var/de/

    don't find what is causing the wrong chars in naming/showing the sav files.
    seems that there is used a ÿ = U+00FF instead an ü = U+00FC somewhere.
     

    Attached Files:

  8. AbsintheRed

    AbsintheRed Chieftain

    Joined:
    Jul 27, 2009
    Messages:
    7,905
    Location:
    Szeged, Hungary
    What's the status of language translations?
    Are the scripts working? Are they updated regularly?
     
  9. dbkblk

    dbkblk Chieftain

    Joined:
    Oct 28, 2005
    Messages:
    1,774
    Location:
    France
    Sorry but I have quite stopped working on this project since a long time. However, I took half a day to rewrite scripts and things and will try to update it more frequently (once a month).

    @Dreifels: I will try to look into the german accent problem.
     
    AbsintheRed likes this.
  10. 45°38'N-13°47'E

    45°38'N-13°47'E Chieftain

    Joined:
    Jun 7, 2008
    Messages:
    5,591
    Location:
    Just wonder...
    Thanks Hadrien, I just can't keep up with translation. If you can do it even once every 3 months, that's enough for me. You simply do it if/when you have time. Thanks again, I hope you are well.
     
  11. dbkblk

    dbkblk Chieftain

    Joined:
    Oct 28, 2005
    Messages:
    1,774
    Location:
    France
    I am really sorry for the delay of answer. I have time to fix your problem now.

    To translate (fix) the problem yourself, you have to translate the game from https://www.transifex.com/civ-a-new-dawn/and-main-mod/languages/
    We cannot take text file directly anymore (would be time consuming for devs).

    This german accents problematic was introduced a long time ago. Can you list me the letters that needs to be converted?
    So, first, the ÿ shoud be ü. What else?

    EDIT: Ok. I've seen you already fixed it on transifex and it doesn't get imported. I'll look into the code to fix this.

    EDIT2: I have isolated the problem and it will be fixed with a new translation update soon.

    Thank you for your feedback.
     
    Last edited: Apr 28, 2017

Share This Page