Auto translator
This commit is contained in:
29
Auto Trans/README.md
Normal file
29
Auto Trans/README.md
Normal file
@ -0,0 +1,29 @@
|
||||
This was mostly made using the GPL chatbot, enjoy!
|
||||
|
||||
It requires googletrans and colorama (For le pretty colors)
|
||||
|
||||
`pip install googletrans==3.1.0a0`
|
||||
|
||||
and
|
||||
|
||||
`pip install colorama`
|
||||
|
||||
It expects a dialogue.txt generated from renpy. I personally only include dialogue (That is, no screen text) but it should work regardless if you choose it.
|
||||
Including the tags is NECESSARY, otherwise the applier.py will fail.
|
||||
|
||||
They are meant to be run in this order
|
||||
(Place your scripts to translate in the scripts folder)
|
||||
(Place dialogue.txt on the same folder as the python script)
|
||||
Parser.py
|
||||
Translator.py
|
||||
Applier.py
|
||||
|
||||
And your translated scripts should be in the output folder.
|
||||
Doing this to snootgame took around an hour to autotranslate, googletrans also doesn't use the official Google API, so don't tell em!
|
||||
|
||||
#This is not a general use tool, you WILL need to modify it to adjust to your needs, and due the nature of the googletrans library it might break any moment
|
||||
#I wanted to do this the legit way but the jews at Deppl will NOT give out free tier API keys to south americans (smh, fucking racists).
|
||||
|
||||
If you need help or something just open up an issue ig.
|
||||
|
||||
Also, Ñ.
|
Reference in New Issue
Block a user