Tool RenPy Translation tool

5.00 star(s) 4 Votes

v01d_08

Member
Modder
Jan 2, 2018
233
304
люди как при переводе игровых квадратов убивали перепробовал все не помогло.
Hi, looks like the font in the game does not support this language. Currently there is no obvious solution to fix this. The only thing I can advice is try to change the font file manually to another, that supports this language.
There was a discussion on previous pages.
 

4ppendix

Newbie
Feb 4, 2020
47
9
люди как при переводе игровых квадратов убивали перепробовал все не помогло.
Yeah, it's a bug in an unsupported font. It has 2 options. First, it must find a font that is not supported in the game folder or the font folder. Then either overwrite it with a supported font, which is easier, or add a supported font to the others. But then you have to change the font in the game / gui file
 

v01d_08

Member
Modder
Jan 2, 2018
233
304
v01d_08. Many thanks, works, it is possible to choose the language. And here is the problem that can be seen in the attachments. Would you be able to help somehow? Thank you in advance.
Yours sincerely.
You see empty text, because there is no translations for those labels.

Are you sure, that all dialogues were translated durring the translation? Sometimes when translating, some errores can occure (online translator returned empty result, or you exceeded the daily limit of characters), and part of dialogues are not translated. You can see this in statistics section of the tool.

So I suspect that in your case some dialogues were not translated. You need to generate a new translations.txt file with the tool, it will grab all untranslated dialogues from your game\tl\polish folder. Translate them and export back. And make sure, that all lines were translated, pay attention at statistics.

Or you just forgot to export your dialogues back into the game :)
 

4ppendix

Newbie
Feb 4, 2020
47
9
v01d_08. Hello. I made the translation using "RenPy". After the operation I did not have any error messages. I understand that I should translate using "Translate RenPy 0.07". Although using this tool is black magic :)
Thanks again for your patience and help.
You didn't do a translation at all! RenPy is not a translator, but it pulls the dialogs out of the game, then you have to use v.0.0.7. But before you use it, you have to create an account !!! Read the pdf. in program v.0.07!
It's not black magic ... she understood a lama like me who is no IT expert with a beginner's English;)
 

leevicious

Newbie
Aug 11, 2018
45
87
Can anyone tell me how to translate this line of the game? The images that would be the choices I will change, but the line that is the action to choose I am not getting.
qq.png

Screenshot_1.png
 

Tacito

Forum Fanatic
Jul 15, 2017
5,213
40,732
Can anyone tell me how to translate this line of the game? The images that would be the choices I will change, but the line that is the action to choose I am not getting.
View attachment 670973
Try with old/new in a rpy.
This is an example , the first is related to a line in a rpy , the second is a direct translation in the same rpy.
Normally you find the direct translation at the end of the rpy.
The problem is that some of them are not extracted for the translation like your case (other cases Define , hints, inventory ... $ name = renpy.input("What's your name?") ...)

Python:
# game/ascript/Z_galleryscenes.rpy:4289
translate italian gal_scene35_c8c6ce1c:
    # h_ "Wait a minute..."
    h_ "Apetta un minuto..."

translate italian strings:
    old "Demon"
    new "Demone"

    old "Feather"
    new "Piuma"
 
Last edited:
  • Like
Reactions: leevicious

v01d_08

Member
Modder
Jan 2, 2018
233
304
Can anyone tell me how to translate this line of the game? The images that would be the choices I will change, but the line that is the action to choose I am not getting.
View attachment 670973
I would say that it is not a dialogue line, so it can not be extracted using RenPy translation feature, and then translated with this tool. Probably you have just to change it manually in this script.
 
  • Like
Reactions: leevicious

leevicious

Newbie
Aug 11, 2018
45
87
I would say that it is not a dialogue line, so it can not be extracted using RenPy translation feature, and then translated with this tool. Probably you have just to change it manually in this script.
Yeah, I was thinking about that already. Oh, thank you.
 

leevicious

Newbie
Aug 11, 2018
45
87
Try with old/new in a rpy.
This is an example , the first is related to a line in a rpy , the second is a direct translation in the same rpy.
Normally you find the direct translation at the end of the rpy.
The problem is that some of them are not extracted for the translation like your case (other cases Define , hints, inventory ... $ name = renpy.input("What's your name?") ...)

Python:
# game/ascript/Z_galleryscenes.rpy:4289
translate italian gal_scene35_c8c6ce1c:
    # h_ "Wait a minute..."
    h_ "Apetta un minuto..."

translate italian strings:
    old "Demon"
    new "Demone"

    old "Feather"
    new "Piuma"
I'll try this. Thanks
 

v01d_08

Member
Modder
Jan 2, 2018
233
304
Hello. The translation of "Milfy City" is almost perfect, for which once again many thanks, for your help and patience.
I have another problem, having the game running in Polish, I cannot save the game, go to the menu (save attachments), and go through a certain stage of the game (receive money from my father), which is quite important to be able to cotinate (stage attachments). I checked the "screens" files, before and after modification, but found nothing there. I don't know where the mistake is. If I could write, go to the menu, other problems would be trivial, I think. Please help.
Yours sincerely.
Hello. Did you get any errors from the tool, after online translation was done? Probably there was a message, saying that translation completed, but some lines contain errors.
Those errors should be fixed manually by yourself, this was said hundred times before. The tool can't fix all cases, it is not a "magic button", sometimes online translator breaks the text, and only human can fix it.
If you don't know how to fix, you can always replace the translation line by original line in translations.txt. All lines, containing errors are shown in a message after translation is completed.
There is a high chance that you ignored that message, did not fix the errors, and exported dialogues back. And now you have errors in dialogues, that crash the game.
 

4ppendix

Newbie
Feb 4, 2020
47
9
Hello. The translation of "Milfy City" is almost perfect, for which once again many thanks, for your help and patience.
I have another problem, having the game running in Polish, I cannot save the game, go to the menu (save attachments), and go through a certain stage of the game (receive money from my father), which is quite important to be able to cotinate (stage attachments). I checked the "screens" files, before and after modification, but found nothing there. I don't know where the mistake is. If I could write, go to the menu, other problems would be trivial, I think. Please help.
Yours sincerely.
It's not as simple or perfect as it seems. You need to read carefully how to use the translator. Personally, I prefer to use Yandex for translation than Google. Yandex usually throws you a translation error right at the beginning of the game. It's more complicated with Google. There, if you do not correct the error before exporting, you will be groping for a search in a thousand lines.
When you use v.0.07, the program will either throw you or not throw an error. Then you have to open the translations.txt program in v.0.07, before exporting, fix the error, save, then export! The error in * .txt is mostly in the bottom lines.
 

Moricano

Well-Known Member
Jan 30, 2019
1,663
1,114
Hi guys, I've created a tool for Windows, that helps to tranlste RenPy games, called TranslateRenPy.
It will help you to change language in your RenPy game. Currently it can grab all untranslated dialogues from the game to one file, so you can more easily translate it manually, or you can translate it with online translator (using this tool and online API), and then export all translated dialogues back into the game. Tnen just add several lines of code to create a custom menu, and you will be able to change language in your RenPy game.
Now there's no way to get a free key bro.
Yandex broke the free key system now to purchase keys you need to pay so your program is now invalid.
Unless you make another program that uses some other translation method. (n):(
 

4ppendix

Newbie
Feb 4, 2020
47
9
I'd like to say what it's like with the Google API. The Google API is not a year free, as stated in the instructions! Google will provide you with a free trial of $ 300, which is valid for one year. If you vacuum it in a week, a month ... you go your own way. And it's not exactly cheap! I can confirm this from my own experience, when I received an invoice for CZK 4,100 = approx. € 155. When I take how much I translated and in what quality, it's k ****
 
  • Wow
Reactions: v01d_08

ktemanuel

Engaged Member
Mar 17, 2019
2,044
2,526
Yes, if you want to do manual correction:
  • Take a clean game
  • Generate translations using RenPy
  • Translate the game using online translator
  • Open file translations.txt in any text editor, read and make any corrections you want
  • Export everything back to game
  • Profit
This error is due to something wrong I am doing seems
 

Klow_ice

New Member
Sep 2, 2019
12
0
Hello, I have a problem :(

When I launch the choice 9 with UnRen all goes well, I delete the files which start with unren as said in the tutorial but then when I launch the game I have a script error : see screen

help me please :'(

I'm trying to translate! Milfy_City-0.6e-pc with renpy-7.3.5-sdk and TranslateRenPy 0.07

Capture.PNG
 

v01d_08

Member
Modder
Jan 2, 2018
233
304
Hello, I have a problem :(

When I launch the choice 9 with UnRen all goes well, I delete the files which start with unren as said in the tutorial but then when I launch the game I have a script error : see screen

help me please :'(

I'm trying to translate! Milfy_City-0.6e-pc with renpy-7.3.5-sdk and TranslateRenPy 0.07
The problem is with your sreeens.rpy file, you made some mistakes when editing it. Revert the file to original, and try this solution.
Or download my file from Milfy_City-0.6e-pc , raplace yours, and change the "Russian" at line 856 to you language and folder name.
 

Klow_ice

New Member
Sep 2, 2019
12
0
The problem is with your sreeens.rpy file, you made some mistakes when editing it. Revert the file to original, and try this solution.
Or download my file from Milfy_City-0.6e-pc , raplace yours, and change the "Russian" at line 856 to you language and folder name.

Thank you very much but the problem is that i don't touch the screens.rpy file at all.
I only do action 9 with UnRen and then when I want to generate the translations it puts an error message (Trying to launch the game).

I start the game and I get the error message :(


I just tried with your file, everything's working until I change the language in the game, all the texts disappear and I can do nothing more.
 

v01d_08

Member
Modder
Jan 2, 2018
233
304
@v01d_08
https://attachments.f95zone.to/2020/06/694928_Sin_titulo01.png
This error is due to something wrong I am doing seems
Yes, you are doing something wrong. But there are no people in this thread, who can read thoughts. Describe steps you performed, attach that rpy file, attach Log.txt file, and community will try to help you.

Thank you very much but the problem is that i don't touch the screens.rpy file at all.
I only do action 9 with UnRen and then when I want to generate the translations it puts an error message (Trying to launch the game).
I start the game and I get the error message :(
I just tried with your file, everything's working until I change the language in the game, all the texts disappear and I can do nothing more.
Same thing here, please describe the steps you performed. What you did, were there any error messages from the tool?
 

Klow_ice

New Member
Sep 2, 2019
12
0
Okay, I'm going to describe it step by step at the same time doing it.
I'm trying to translate! Milfy_City-0.6e-pc with renpy-7.3.5-sdk and TranslateRenPy 0.07.

I copy the whole file! Milfy_City-0.6e-pc at the root of renpy-7.3.5-sdk <see screenshot 1>

I meet the UnRen at the root of! Milfy_City-0.6e-pc (where there is exe).
I run UnRen.bat and choose choice 9 (All of the above), wait for it to finish. <see capture 2>

I delete the 4 files which start with UnRen located in \ Game \ and I launch RenPy.
I go to Generate the translation files, I put my file name which is "French", I check the box generate character strings… and I click on generate the translation files <see capture 3>

And there I have an error message <see screenshot 4>
I'm trying to launch the game and that's where I got the screens.rpy script error <see screenshot 5>

so I did not touch the screens.rpy file
I have all the latest versions of the applications
 
5.00 star(s) 4 Votes