Results 1 to 6 of 6

Thread: Machine translation

  1. #1

    Default Machine translation

    Hi,

    i'm wondering if there is an easy (scripted) way to make a machine translation of the game? I downloaded a couple of Chinese mods, and i'd like at least the basic stuff to be translated into English. I know some mods like Fire and Sword have "machine translations"; but i wonder if those need any human input, or could you just theoretically translate an entire file via google translate and then be able to use the language?


    Thanks

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Machine translation

    Well, you would need something like the goolge translator and then insert it into a macro. Not an easy task I would think.

    In the F&S case I would assume it's a manual copy\paste affair from google without further editing, mentioning 'machine' to forestall criticism of the quality of the translation.
    Last edited by Gigantus; September 09, 2021 at 09:48 PM.










  3. #3

    Default Re: Machine translation

    Thanks!

    So for example, could i do the same thing with the translation? How many files would i need to edit? For example to translate the menus, would it be enough to translate the menu_english file under "text" in the data folder, or would i need to edit more things? Because i tried it and it didn't work

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Machine translation

    Well, basically you need to translate every TXT file in a mod's data\text directory, then run the mod to make should it generates fresh STRING.BIN files. 'menu_english' is just that, the menu entries. I would suggest to also add at least 'historic_events', especially the custom entries. The default entries in there you can just copy\paste from your version.

    If Chinese symbols are being used then you could run into the issue that everything will get displayed as question marks in the game.
    Last edited by Gigantus; September 15, 2021 at 08:59 PM.










  5. #5

    Default Re: Machine translation

    Thanks Gig!

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: Machine translation











Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •