Translate the tutorial (FR)

Discussion in 'General Discussion' started by Walzou, Oct 21, 2021.

  1. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    Hello,

    I would like to be able to translate the tutorial into French for my own use to start with.

    Could you help me by telling me which files I need to translate and if there is any software to do this? Or do I have to do the translation on Excel?

    Thank you in advance for your answer.
     
    #1
  2. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,816
    Likes Received:
    4,111
    The tutorial - if you mean the Robinson Protocol - and all story missions should be in the PDA.csv file, in Empyrion - Galactic Survival\Content\Extras\PDA folder. The first column contains the "keys" which are referenced in the PDA.yaml, and each following columns are for the different languages, with their names at the top. I use Excel to edit csv files but there are many free editors available on the net.
     
    #2
    Walzou likes this.
  3. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
    #3
    Walzou and Kassonnade like this.
  4. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    Hello Kassonnade and ASTIC and thank you for your answers.

    I didn't understand how it works with DeepL to translate the files automatically and I didn't understand what the tool (GitHub-TC) is for and also how to install it. When I click on the exe nothing happens.

    Could you explain me how it works and how I have to do it step by step?

    Or if it's easier and doesn't take much time, could you automatically translate the PDA file in French with DeepL?

    Thank you in advance for your answers.
     
    #4
    Kassonnade likes this.
  5. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    UP. Help me please.
     
    #5
  6. Kassonnade

    Kassonnade Rear Admiral

    Joined:
    May 13, 2017
    Messages:
    2,816
    Likes Received:
    4,111
    #6
    Walzou likes this.
  7. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
    For example
    then the program ask you for a DeepL Free API key - so you have to register at DeepL before to get this free key
     
    #7
    Walzou likes this.
  8. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    Salut Astic,

    Je ne comprends pas où je dois entrer le code que vous avez mis pour moi.

    De plus, je ne comprends pas ce que j'ai à faire avec ces fichiers : https://github.com/GitHub-TC/TranslateCSV/releases/tag/1.4.0

    Dois-je télécharger les fichiers TranslateCSV.zip, ainsi que les 2 Codes sources ?

    Sinon je me suis inscrit sur DeepL et j'ai reçu une clé d'authentification.

    C'est compliqué !!!
     
    #8
  9. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
    It is a command line program and you had to call it from the command line from the directory
    You unpack the ZIP file
    https://github.com/GitHub-TC/TranslateCSV/releases/download/1.4.0/TranslateCSV.zip
    e.g. to C:\
    and then call the program from the command line in this directory
    C:\steamcmd\empyrion.server\Content\Extras\PDA
    --> cmd

    upload_2021-10-23_13-58-5.png
    Code:
    C:\TranslateCSV\TranslateCSV.exe --csv-input PDA.csv --csv-output PDA.csv --deepl-target-language FR --csv-target-language Français --deepl-free
    upload_2021-10-23_13-58-59.png
     
    #9
    Walzou likes this.
  10. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    Salut Astic et merci pour ton aide. Je pense que je commence juste à comprendre.

    Le fichier à traduire "PDA.csv" sur mon ordinateur se trouve à cet emplacement :
    D:\steamapps\common\Empyrion - Galactic SurvivalContentExtras\PDA

    Par contre, ce que je n'ai pas compris, c'est où je dois mettre le programme en ligne de commande une fois qu'il est décompressé ?

    Et puis pourriez-vous refaire le code s'il change selon l'endroit où mon jeu Empyrion est installé sur mon ordinateur ?

    Merci de votre patience et de votre aide.
     
    #10
  11. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    J'ai placé le programme dans la ligne de commande à cet emplacement :
    C:\Users\walzo\Desktop\Empyrion\TraduireCSV\TranslateCSV

    Est-ce correct?

    C:\Users\walzo>D:\Steamapps\commonEmpyrion - Galactic Survival\Content\Extras\PDA>C:\Users\walzoDesktop\EmpyrionTraduireCSV\TranslateCSV. exe --csv-input PDA.csv --csv-output PDA.csv --deepl-target-language FR --csv-target-language Français --deepl-free
     
    #11
  12. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    @ ASTIC: Wouldn't it be easier if you translated the PDA.csv file into French (a copy of the original) and then sent it to me via a link or I gave you my e-Mail address?
     
    #12
  13. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
    By the way - that seems to be correct (only a backslash is missing)
     
    #13
    Walzou likes this.
  14. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    Oui mais au moins si tu le fais je suis sûre que ce sera parfait !
     
    #14
  15. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
    Here is the translated PDA which now also includes French for v1.6.3 (3512)
    unzip the csv and copy it into the
    Code:
    [EGS]\Content\Extras\PDA
    directory

    Remember: The dialogs are still in another file
    Code:
    [EGS]\Content\Configuration\Dialogues.csv
    in case you want to have them translated as well (whereas the free quota is almost used up by the PDA and will be reset only after 30 days)
    But we can see how far we get with the current rest translation volume ;-)
     

    Attached Files:

    • PDA.zip
      File size:
      507.8 KB
      Views:
      162
    #15
    Walzou likes this.
  16. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    A big THANK YOU to you ASTIC.

    I am really happy finally after so many years to be able to play Empyrion in my native language.

    For the translation of the rest I think also that the best would be to translate until reaching the maximum of characters fixed. Then for the rest, I will do little by little when I have time line by line in Excel. Can you still make the Dialogues.csv in part?

    Once again a big THANK YOU ASTIC.
     
    #16
  17. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
    Ok, I used your and my remaining free volume and it was still enough for the Dialogue.csv
    unzip the file to
    Code:
    [EGS]\Content\Configuration
    View attachment 92105
     

    Attached Files:

    #17
    Walzou likes this.
  18. ASTIC

    ASTIC Captain

    Joined:
    Dec 11, 2016
    Messages:
    993
    Likes Received:
    707
  19. Walzou

    Walzou Ensign

    Joined:
    Oct 20, 2021
    Messages:
    11
    Likes Received:
    1
    ASTIC you are a genius!

    At the risk of repeating myself, I really thank you a thousand times for your help. It's only happiness... You have made my next evenings very pleasant!

    THANK YOU

    Ps : I put the link in the French forum, if it can interest some!
     
    #19

Share This Page