Description

Stalker Translation XML TOOL is a Python-based tool that automatically translates your mod's XML files using “googletrans” or "DeepL". This translation is automatically generated, It's a help, but may need proofreading and correction.

Preview
Stalker Translation XML TOOL v3.4
Post comment Comments
Stalker_Boss
Stalker_Boss - - 1,779 comments

Эх...

Reply Good karma Bad karma0 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Yes ?

Reply Good karma+1 vote
Yarkov_Desorec
Yarkov_Desorec - - 645 comments

Better to use DeepL, brain, hands & ChatGPT for good variants.
P.S. I still waiting for adding my port/adaptation of Apocalyptic Blowout Overhaul v.3.1 Lite for Old World Addon.

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Hi! I'll look into adding DeepL, even if you have to add a credit card to get a key for the free version :') For Brain and Hands, do you have a link I can check?

Reply Good karma+1 vote
Private_Pirate
Private_Pirate - - 197 comments

Cool. I am currently working on a complete translation of the Anomaly XML files. This might help speed up the process.

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Hi ! Remember to check to complete the "dont_translate_this.txt" file ;)

Reply Good karma+1 vote
SkyJoe
SkyJoe - - 23 comments

Hi! Can I use this tool to translate XML to Spanish?

Reply Good karma Bad karma+1 vote
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

if the XML files come from a ‘configs/text/xx’ folder, yeah!
Place the XML files in the ‘sources’ folder and run the script in the command prompt. Select ‘Translate’, then type ‘es’ to translate the files into Spanish. Let the script do its work, and when it's finished, retrieve the translated files in ‘results’.

Reply Good karma+1 vote
SkyJoe
SkyJoe - - 23 comments

Gracias! I mean, thank you!

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

With pleasure :)

Reply Good karma+1 vote
Guest
Guest - - 698,362 comments

Please record a video with subtitles on YouTube how it works and what it can do.

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

I don't think a video is really useful.
Simply run the script (py translate.py) in the command prompt.
Install the requirements (pip install -r requirements.txt)
And set the options from the menu. Place the files to be translated in ‘sources’ then click ‘Translate’, then indicate the destination language, and that's it :)

Reply Good karma+1 vote
Guest
Guest - - 698,362 comments

where to download all this?

To run, this script requires PYTHON with Googletrans , pick, colorama and tqdm.

and yet

DeepL

Reply Good karma Bad karma+1 vote
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Download python ( Python.org ) and install.
Tick the boxes "Add python.exe to PATH" and "Use admin privileges".
Then download the tool here. Extract the archive. open the folder where the file ‘translate.py’ is located, open the command prompt here (right-click ‘Open in terminal’) and type ‘pip install -r requirements.txt’ then validate. They should install the required elements for you.

When you have finished, type ' py .\translate.py ' in the console.
And valid. Place your files to be translated in the ‘sources’ folder and choose the ‘translate’ option in the menu.

Reply Good karma+1 vote
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

If you prefer, I'm uploading a version where you don't have to install anything, just run ‘translate.exe’ ( Moddb.com ) I'm just waiting for confirmation from ModDb.

Reply Good karma+2 votes
ZomMiller
ZomMiller - - 7 comments

God, I love you

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Love you to !

Reply Good karma+1 vote
zoust
zoust - - 365 comments

Stylé bravo !

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Merci :p. J'essaie de l'améliorer, d'ajouter des options / fonctions petit à petit.

Reply Good karma+1 vote
zoust
zoust - - 365 comments

La version exécutable, je pense que c'est le 1er truc que 90% des gens vont vouloir :) 10/10
bon courage pour la suite

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Exactement, 110 dl pour l’exécutable yep !
Merci :)

Reply Good karma+1 vote
MrRad
MrRad - - 20 comments

really add TT language for translation?

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

The TT language is supported by Bing, Lingvanex, ModernMT MyMemory qqTranSmart Iciba Llama ChatGPT

Reply Good karma+1 vote
PandaBlyat
PandaBlyat - - 19 comments

Can someone let me know if this works with the dialogue expanded mods?

Moddb.com

Reply Good karma Bad karma+1 vote
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Yes, simply place the text files (U.D.E 1.5.0\gamedata\configs\texteng) in the SOURCES folder, run the translation, and replace the old files with those in the RESULTS folder.

Reply Good karma+1 vote
enter_login
enter_login - - 1 comments

Hello Guys.
Lovelly tool. Great job, monsieur FenętreXxMagique. All while AI gets better and better... Hope you are our kind/side "if something...", lol.
So, about Si-based "net-brains". In the app description: to enter API KEY - 'you' need to put it into API_KEY.txt, well I think - 'you' need to put it into config.ini file by using, even simple, text editor. Works this way for me at least or maybe I miss something, can be. Another thing: when using deepl, selecting source and destination lang. - only GREAT letters work, e.g. - should be EN, not en, but there's help command on hand, so...
Sure, I can live happy within, just letting out some feedback.
Thanks and regs.

Reply Good karma Bad karma+2 votes
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Hi and thanks for your feedback :)
Actually it's now the "config.ini" file since a few versions already, but I had forgotten to update the description... It's done, thanks!

And yes, some services ask for arguments in lower case (fr, en, de , etc) and others in upper case (EN, FR, DE, etc) or even more detailed like "EN-GB" "EN-US" etc...
despite the "[Example : fr, en , ro, es]" in the source language request window, which remains in lower case :P

Unfortunately, I can't change that :/

Reply Good karma+1 vote
wangchen150302
wangchen150302 - - 3 comments

I have finished translating the files and now how to install it?

Reply Good karma Bad karma+1 vote
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Hi ! Just create a folder and put your translated files in it. You can use another translation mod to see the folder tree. ( Exemple : Moddb.com )
And install it like any other mod :)

Reply Good karma+1 vote
wangchen150302
wangchen150302 - - 3 comments

If I use Vietnamese language, what encoding should I use?

Reply Good karma Bad karma+1 vote
FenêtreXxMagique Author
FenêtreXxMagique - - 51 comments

Try Windows-1258 or UTF-8

Reply Good karma+2 votes
Guest
Guest - - 698,362 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: