Hi. Thx for the hint. The README.md is outdated as hell :D Since I decided to let the th gitHub private, your only way to download the App ist ober itch.io ... I'll delete that section of the README as soon as I'll release the next version of the tool.
Hi. Thanks for using my tool. There must be a Readme.MD inside the zip/tar.gz where everything is explained. I will summerize it a bit here: You need to create the translations files using the renpy launcher. It saves files into the yourRenpyGame/game/tl/yourLanguage/xx.rpy
In the tool there is a src/ folder. Pls create /if not already exists) a "translations" folder and a "translations_translated" folder. place the xx.rpy into the translations folder.
Edit the config.py to set an alter output/input folder and very important the language the translator shall translate your stuff into. "en" or "fr"...
then start the tool by using the cmd or terminal. "python main.py"
the tool needs to process the file and then the finished one is in the translations_translated folder. From this point you should check if everything fits. Then you need to put it into you game. Therefor you shall follow the renpy documentation.
I'm just experimenting with the diffrent translators, but google was one of the easiest to use. Its a good idea to maybe implement the possibility to choose from a pool of translators.
Hi. Nice tool. I was so frustrated translating one of my never finished projects to english. There is maybe one thing that is a little weired, does the api autodetect the source language? Cause my game was initially written in german :)
Yes, the API used in the tool is the GoogleTrans library—automatically detects the source language of the text you provide. In the code, when we call the translate method without specifying the source language, it defaults to 'auto', which enables automatic language detection.
← Return to tool
Comments
Log in with itch.io to leave a comment.
hey just mention - it seems the github link in README.md doesn't work. It shows as https://github.com/YourUsername/renpy-translation-tool.git and seems YourUsername is not an appropriate username.
Hi. Thx for the hint. The README.md is outdated as hell :D
Since I decided to let the th gitHub private, your only way to download the App ist ober itch.io ... I'll delete that section of the README as soon as I'll release the next version of the tool.
How does it work, what do I have to do?
Hi. Thanks for using my tool.
There must be a Readme.MD inside the zip/tar.gz where everything is explained. I will summerize it a bit here:
You need to create the translations files using the renpy launcher. It saves files into the yourRenpyGame/game/tl/yourLanguage/xx.rpy
In the tool there is a src/ folder. Pls create /if not already exists) a "translations" folder and a "translations_translated" folder.
place the xx.rpy into the translations folder.
Edit the config.py to set an alter output/input folder and very important the language the translator shall translate your stuff into.
"en" or "fr"...
then start the tool by using the cmd or terminal.
"python main.py"
the tool needs to process the file and then the finished one is in the translations_translated folder. From this point you should check if everything fits. Then you need to put it into you game. Therefor you shall follow the renpy documentation.
Give me some feedback, if it worked out for you.
Thans a lot and have a good time :)
Other translators will be integrated, such as Yandex and DeepL?
I'm just experimenting with the diffrent translators, but google was one of the easiest to use. Its a good idea to maybe implement the possibility to choose from a pool of translators.
Hi. Nice tool. I was so frustrated translating one of my never finished projects to english. There is maybe one thing that is a little weired, does the api autodetect the source language? Cause my game was initially written in german :)
Thx for sharing
Yes, the API used in the tool is the GoogleTrans library—automatically detects the source language of the text you provide. In the code, when we call the
translate
method without specifying the source language, it defaults to'auto'
, which enables automatic language detection.Works fine, maybe this tool has could save me from stop developing one of my ludum dare projects some years ago :D
Maybe I'll give it another try some day.