Tool RenPy Translation tool

5.00 star(s) 4 Votes

Tacito

Forum Fanatic
Jul 15, 2017
5,498
45,776
Version 0.07 fix 2
Fixed escaping of double quotes, if online translator replaced single quotes with double.
Added application-wide error logging of unhandled exceptions. Now all exception text from error window will be written to Log.txt file. Thanks to 4ppendix for bug-report.
Please redownload the 0.07 archive in the first post!
How can verify that the release is the last ?
I hope I downloaded the last , but I have this problem (every time 'text') not seen in 0.6.
This is the translation with Yandex

0.6
# p smi "If you keep running every day, you will feel so called 'runner's high', but I'm afraid you may quit running before you reach that stage.."
p smi "Se si continua a correre ogni giorno, vi sentirete così chiamato 'runner's high', ma ho paura che si può smettere di corsa, prima di raggiungere quello stadio.."

0.7
# p smi "If you keep running every day, you will feel so called 'runner's high', but I'm afraid you may quit running before you reach that stage.."
p smi "Se si continua a correre ogni giorno, vi sentirete così chiamato\"runner's hig\", ma ho paura che si può smettere di corsa, prima di raggiungere quello stadio.."

Thanks
 
Last edited:
  • Thinking Face
Reactions: v01d_08

4ppendix

Newbie
Feb 4, 2020
47
9
4ppendix, there was a bug in my tool, so you czech translation of "Two weeks" game is broken. Delete all files from folder 'czech' in 'game/tl', and extract this files, I translated them for you with Google. Also replace the 'game\screens.rpy' file with this. It already has the language labels in Preferences.
Thanks(y)
 

4ppendix

Newbie
Feb 4, 2020
47
9
Maybe that's not possible ... please, I need to get to the gui.rpy folder due to a font change. But where is he
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
Version 0.07 fix 3

Fixed escaping of double quotes, if online translator replaced single quotes with double. Added more cases.

Please redownload the 0.07 archive in the first post!


How can verify that the release is the last ?
I hope I downloaded the last , but I have this problem (every time 'text') not seen in 0.6.
This is the translation with Yandex
Sorry for that, I've updated the version. Hope the issue with quotes is fixed now. Also I added fix number to archive name in the first post (TranslateRenPy 0.07 fix 3.zip), so you can verify you downloaded the latest version.
 
  • Like
Reactions: Tacito

Tacito

Forum Fanatic
Jul 15, 2017
5,498
45,776
Sorry for that, I've updated the version. Hope the issue with quotes is fixed now. Also I added fix number to archive name in the first post (TranslateRenPy 0.07 fix 3.zip), so you can verify you downloaded the latest version.​
Problem seems not solved , if can help this is as example an empty rpy , line 858 864 876 3624 have the problem.
This game has a lot of these similar lines also in others rpy.
Strange because I have no problem with 0.6 version.

Or this is only a my problem ... possible ;)

You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:

4ppendix

Newbie
Feb 4, 2020
47
9
4ppendix, there was a bug in my tool, so you czech translation of "Two weeks" game is broken. Delete all files from folder 'czech' in 'game/tl', and extract this files, I translated them for you with Google. Also replace the 'game\screens.rpy' file with this. It already has the language labels in Preferences.
I want to ask how you did it because I have about 3 more games with the same problem. Then I have a game where the screens folder is missing, so I don't know how to make the language setting in the menu
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
Problem seems not solved , if can help this is as example an empty rpy , line 858 864 876 3624 have the problem.
This game has a lot of these similar lines also in others rpy.
Strange because I have no problem with 0.6 version.

Or this is only a my problem ... possible ;)

You don't have permission to view the spoiler content. Log in or register now.
Well, this is not a problem. Yandex replaced single quote with double quotes durring translation. So my tool just escaped double quotes, to make things work for RenPy. There's no way I can make Yandex not replace them, it does what it wants. All I can do is fix the translation after it. You can try to replace all entries of \" with a single quote using a notepad++ or another editor, if this is critical to you.

I want to ask how you did it because I have about 3 more games with the same problem. Then I have a game where the screens folder is missing, so I don't know how to make the language setting in the menu
I did everything like written in instructions in the first post. Please tell us, what do you mean under "problem"? Did you download the latest version of the tool? Do you get any errors?
 
Last edited:
  • Like
Reactions: Tacito

Tacito

Forum Fanatic
Jul 15, 2017
5,498
45,776
You can try to replace all entries of \" with a single quote using a notepad++ or another editor, if this is critical to you.
I have to replace all entries because when you start the game that are errors , " not closed correctly.
Yes it is not a problem replace them , or I can use 0.6 version.
Thanks ;)
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
I have to replace all entries because when you start the game that are errors , " not closed correctly.
Yes it is not a problem replace them , or I can use 0.6 version.
Thanks ;)
What do you mean under " not closed correctly ? double quotes are not escaped with slash? Because in your spoiler all double quotes are escaped correctly.
 

Tacito

Forum Fanatic
Jul 15, 2017
5,498
45,776
What do you mean under " not closed correctly ? double quotes are not escaped with slash? Because in your spoiler all double quotes are escaped correctly.
Yes you are right in this version they are escaped correctly , sorry.
In any case it is not an important problem.
 

4ppendix

Newbie
Feb 4, 2020
47
9
4ppendix, there was a bug in my tool, so you czech translation of "Two weeks" game is broken. Delete all files from folder 'czech' in 'game/tl', and extract this files, I translated them for you with Google. Also replace the 'game\screens.rpy' file with this. It already has the language labels in Preferences.
Hi, as you translated the game for me, it can't be saved! What with this?
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
Hi, as you translated the game for me, it can't be saved! What with this?
Becouse it was translated with version, that contained a bug. Probably test was broken somewhere. You can make a new translation by yourself, or take this one, it is made with the latest version of tool.
 
  • Like
Reactions: 4ppendix

elensarfinrod

New Member
Apr 11, 2019
12
1
It does not react when I want to translate it with google. how do i solve this problem. it was giving an error in the old program.
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
It does not react when I want to translate it with google. how do i solve this problem. it was giving an error in the old program.
Hello. What do you mean "It does not react"?
Please provide more information - do you get any errors? If yes, please describe your actions, make a screenshot of error window, and attach Log.txt file.
 

elensarfinrod

New Member
Apr 11, 2019
12
1
I'm not getting an error. yandex works but google doesn't work. In the old version I was getting the following error. I do not receive errors in this version, but the program does not respond.
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
Version 0.07 fix 4

Fixed: File google.json was loaded from incorrect path. This is why Google translation did not work.
Please redownload new archive from the first post.

Thanks elensarfinrod for a bug report. Please try a new version, now it should work correctly.
 

ktemanuel

Engaged Member
Mar 17, 2019
2,581
3,871
Version 0.07 fix 4

Fixed: File google.json was loaded from incorrect path. This is why Google translation did not work.
Please redownload new archive from the first post.

Thanks elensarfinrod for a bug report. Please try a new version, now it should work correctly.
@v01d_08 hello could you help me I'm translating into Spanish FootOfTheMountains-V11 I followed the tutorial until the edition of the screens.rpy file which seems to be where the error is. It turns out that I add the line and when I open the game I get the following.

Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


File "game/screens.rpy", line 743: Tab characters are not allowed in Ren'Py scripts.

Ren'Py Version: Ren'Py 7.2.1.457
Sat May 16 07:50:11 2020
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
@v01d_08 hello could you help me I'm translating into Spanish FootOfTheMountains-V11 I followed the tutorial until the edition of the screens.rpy file which seems to be where the error is. It turns out that I add the line and when I open the game I get the following.
Hello, thanks for using my tool. Probably you made an error with position of your text block. Number of spaces does metters in RenPy.
Try this file, I changed it "on eye". If it does not help, I will try to download the game.
 
  • Like
Reactions: ktemanuel
5.00 star(s) 4 Votes