Module automatic translation

Hi,
I discovered that it is relatively easy to automatically translate the dialogues of a module into any language (had it been discovered before? I have not found anything online). You need
- open the module in the toolset
- in the temp0 folder that is created in the modules folder, take all the .dlg files
- transform the dlg into xls files (with xoreos tools)
- translate the xls with a python script (the AI can easily create one: you need to give it instructions so that it translates only the parts of the same line between > and </string>
- recreate the dlg with xoreos tools
- create a hak with nwhak with the translated dlg
- import the hak into the module (better to create a backup of the module)
I saw that it works (at least from what I saw), although only with the dialogues and the man\woman tokens and similar are not translated.
Has anyone created an app or script better than mine, that does not translate only the dialogues but the entire module?
I discovered that it is relatively easy to automatically translate the dialogues of a module into any language (had it been discovered before? I have not found anything online). You need
- open the module in the toolset
- in the temp0 folder that is created in the modules folder, take all the .dlg files
- transform the dlg into xls files (with xoreos tools)
- translate the xls with a python script (the AI can easily create one: you need to give it instructions so that it translates only the parts of the same line between > and </string>
- recreate the dlg with xoreos tools
- create a hak with nwhak with the translated dlg
- import the hak into the module (better to create a backup of the module)
I saw that it works (at least from what I saw), although only with the dialogues and the man\woman tokens and similar are not translated.
Has anyone created an app or script better than mine, that does not translate only the dialogues but the entire module?
0