CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Tutorial Tool Ren'Py Renpy Translator v2.4.1 (multi-translation engine)--- open-source (support one key translate, local glossary and generate translation mod)

Jan 22, 2024
80
57
Could you please help me here, I was trying to translate with Renpy Translate on my cell phone using a PC emulator, I select the tl folder and choose the language and click on translate but nothing happens, it doesn't generate the translation

View attachment 3345558
It seems like that you are not using the latest version (current is v1.4.0) from the picture you offered
And you'd better rename your directory with letter(a-z or A-Z) only , special symbols like ' # may be not supportable
Besides make sure the target game is already unpacked , my tutorial may do effect if you are still suspicious about this
You can refer to :
 

jhonatanw

Engaged Member
Jun 21, 2022
2,843
3,109
It seems like that you are not using the latest version (current is v1.4.0) from the picture you offered
And you'd better rename your directory with letter(a-z or A-Z) only , special symbols like ' # may be not supportable
Besides make sure the target game is already unpacked , my tutorial may do effect if you are still suspicious about this
You can refer to :
keep not generating the translation even I using 1.4.0 and already renowned the directory I don't know what is going wrong
Screenshot_20240212_202824_TermuxX11.png
 

Awa.

Newbie
Jun 7, 2022
50
17
Hello, I'm having problems with the function of extracting the dialogues, apparently this happens because it tries to follow some directory that is in the scripts and is unable to do so, this has already been happening with about 4 games, but with this one I decided to ask if there is any way way to get around this problem.

2024-02-15 12:32:46 Traceback (most recent call last):
File "main.py", line 287, in extract
File "renpy_extract.py", line 394, in ExtractAllFilesInDir
File "renpy_extract.py", line 276, in CreateEmptyFileIfNotExsit
FileNotFoundError: [WinError 3] The system cannot find the specified path: 'DEEP_VAULT_69-0.2.16_a-pc\\game\\tl\\test/g_script\\core\\events\\side_quest\\baky_quest'

Game: Deep Vault69

Script version: 8.1.4

imagem_2024-02-15_123827790.png
 
  • Like
Reactions: anonymousException
Jan 22, 2024
80
57
Hello, I'm having problems with the function of extracting the dialogues, apparently this happens because it tries to follow some directory that is in the scripts and is unable to do so, this has already been happening with about 4 games, but with this one I decided to ask if there is any way way to get around this problem.

2024-02-15 12:32:46 Traceback (most recent call last):
File "main.py", line 287, in extract
File "renpy_extract.py", line 394, in ExtractAllFilesInDir
File "renpy_extract.py", line 276, in CreateEmptyFileIfNotExsit
FileNotFoundError: [WinError 3] The system cannot find the specified path: 'DEEP_VAULT_69-0.2.16_a-pc\\game\\tl\\test/g_script\\core\\events\\side_quest\\baky_quest'

Game: Deep Vault69

Script version: 8.1.4

View attachment 3356587
Thanks for the feedback , already fixed in the latest version and test passed successfully on the game you metioned : Deep Vault69
You can download the latest version from :
 
Last edited:

Awa.

Newbie
Jun 7, 2022
50
17
Hello again, I don't know what happened, but, in the same game that I sent there, the program apparently was unable to extract the game strings, including the dialogues, only in some game elements they were extracted.

1708084252838.png

1708084263496.png
 
  • Like
Reactions: anonymousException
Jan 22, 2024
80
57
Hello again, I don't know what happened, but, in the same game that I sent there, the program apparently was unable to extract the game strings, including the dialogues, only in some game elements they were extracted.

View attachment 3359142

View attachment 3359143
Not a bad issue , still extraction issue , already fixed in v1.4.4 and validate like this:
1708091666498.png
you can download the latest version from
 
Last edited:
Jan 22, 2024
80
57
View attachment 3359364

View attachment 3359365

"The operation could not be completed successfully because the file contains possibly unwanted software"

View attachment 3359371
that's complicated
Anti-virus software report viruses

This program is packed by pyinstaller and with file operation (open read write) , so may cause false detection

If you are worried about this , you can download the source code and run the program yourself or close the anti-virus software
 

Awa.

Newbie
Jun 7, 2022
50
17
Anti-virus software report viruses

This program is packed by pyinstaller and with file operation (open read write) , so may cause false detection

If you are worried about this , you can download the source code and run the program yourself or close the anti-virus software
Okay, I'll test this update.
 

Awa.

Newbie
Jun 7, 2022
50
17
When translating the extracted file, the log shows "translate skip" and the scripts remain in English/Russian

"

2024-02-16 11:47:19 \DEEP_VAULT_69-0.2.16_a-pc\game\tl\Iso/g_script\map\vault_69\vault_69_map.rpy begin translate!

2024-02-16 11:47:19 \DEEP_VAULT_69-0.2.16_a-pc\game\tl\Iso/g_script\map\vault_69\shop_map.rpy translate skip!

2024-02-16 11:47:19 \DEEP_VAULT_69-0.2.16_a-pc\game\tl\Iso/g_script\map\vault_69\shower_map.rpy translate skip!

2024-02-16 11:47:19 Traceback (most recent call last):

File "renpy_translate.py", line 30, in run

File "renpy_translate.py", line 308, in TranslateFile

UnboundLocalError: local variable 'client' referenced before assignment



2024-02-16 11:47:19 Traceback (most recent call last):

File "renpy_translate.py", line 30, in run

File "renpy_translate.py", line 308, in TranslateFile

UnboundLocalError: local variable 'client' referenced before assignment



2024-02-16 11:47:19 Traceback (most recent call last):

File "renpy_translate.py", line 30, in run

File "renpy_translate.py", line 308, in TranslateFile

UnboundLocalError: local variable 'client' referenced before assignment



2024-02-16 11:47:19 translate all complete!
"

1708095021341.png
 
  • Like
Reactions: anonymousException
Jan 22, 2024
80
57
When translating the extracted file, the log shows "translate skip" and the scripts remain in English/Russian

"

2024-02-16 11:47:19 \DEEP_VAULT_69-0.2.16_a-pc\game\tl\Iso/g_script\map\vault_69\vault_69_map.rpy begin translate!

2024-02-16 11:47:19 \DEEP_VAULT_69-0.2.16_a-pc\game\tl\Iso/g_script\map\vault_69\shop_map.rpy translate skip!

2024-02-16 11:47:19 \DEEP_VAULT_69-0.2.16_a-pc\game\tl\Iso/g_script\map\vault_69\shower_map.rpy translate skip!

2024-02-16 11:47:19 Traceback (most recent call last):

File "renpy_translate.py", line 30, in run

File "renpy_translate.py", line 308, in TranslateFile

UnboundLocalError: local variable 'client' referenced before assignment



2024-02-16 11:47:19 Traceback (most recent call last):

File "renpy_translate.py", line 30, in run

File "renpy_translate.py", line 308, in TranslateFile

UnboundLocalError: local variable 'client' referenced before assignment



2024-02-16 11:47:19 Traceback (most recent call last):

File "renpy_translate.py", line 30, in run

File "renpy_translate.py", line 308, in TranslateFile

UnboundLocalError: local variable 'client' referenced before assignment



2024-02-16 11:47:19 translate all complete!
"

View attachment 3359443
Thank you so much! I don't even found this question due to my default config
Already fixed in v1.4.5 , just a small code bug. It's not relevant to skip
Skip is correct when a file contains nothing to translate
 
Jan 22, 2024
80
57
Hello again, I don't know what happened, but, in the same game that I sent there, the program apparently was unable to extract the game strings, including the dialogues, only in some game elements they were extracted.

View attachment 3359142

View attachment 3359143
Besides for special text in tooltip is actually translated but seems not work like this :
1708155406274.png
Following the tutorial from https://f95zone.to/threads/translation-of-text-in-screen.90781/
Just open the rpy file and add the following code :
(in the game you mentioned it locates on g_script\core\events\m_quest\sex_change.rpy)
Python:
    old "[tooltip]"
    new "[tooltip!t]"
Another case is you may found that the content in notify is also not translated
For example , you can meet the situation in the beginning of the game you mentioned
1708171081445.png
As you can see , the text "Find old Man Gibson" is not translated successfully , but acctually my tool has already translated the text
I guess it is due to the feature of ren'py
In order to fix the problem , you need to modify the original code
replace notify(_("[content]") with notify(__("[content]")
just add '_' after notify(
quite easy right?
In the game you mentioned , you should modify the file : game\g_script\core\events\m_quest\m_q_0_1_0.rpy
In line 498 , you can found :
Python:
show screen notify(_("Find old Man Gibson"), None)
replace it with
Python:
show screen notify(__("Find old Man Gibson"), None)
1708171637601.png
And then the translation will do the effect
For other notify cases like "Find Harry" and so on , you can repeat the operation to make translation works
 
Last edited:

Awa.

Newbie
Jun 7, 2022
50
17
Thank you very much, I would really like to know how to solve the problem with "text" and "notify" a while ago, with the new update, at least as far as I tested it worked well. Now, just an observation, I don't know if this happens in other games since I only used it in this one, but it seems that when doing new, the program is releasing a space between the "[", and causing an error.

1708180397431.png

1708180374742.png

1708180419592.png

1708180436584.png
 
  • Like
Reactions: anonymousException
Jan 22, 2024
80
57
Thank you very much, I would really like to know how to solve the problem with "text" and "notify" a while ago, with the new update, at least as far as I tested it worked well. Now, just an observation, I don't know if this happens in other games since I only used it in this one, but it seems that when doing new, the program is releasing a space between the "[", and causing an error.

View attachment 3362305

View attachment 3362304

View attachment 3362306

View attachment 3362307
Actually I also meet the problem , I forget to talk about this
Unfortunately I'm sorry to say that the situation seems not easy to solve by improving the code
You can found that after translation "[[XXXX]" was translated into "[ [XXXX]" , an extra space was added , the important point is that after translation the structure of the special symbols destroyed
However the result is translated by google translate engine , sometimes translation engine is not friendly to special symbols like '[]' '<>' ... especially when the special symbols used repeatedly
But there still remains good news , normally the case will not happen frequently , you only need to modify the error sentences manually (For the case you mentioned , just remove the extra space)
At last back to your question , in other games the error may occur when the game use special symbols repeatedly (most games would not use special symbols like this) , so need not to be too worried about the error
Thanks to your good issue , the problem you mentioned already added into the FAQ part of document
You can review them from
 
Last edited:

Awa.

Newbie
Jun 7, 2022
50
17
So, I noticed that in various parts of the dialog, Russian words appear, when I used the word "Да-да" to search the scripts and see what was going on, I noticed that the word alone (as it appears in the dialogs), did not exist in the "tl" folder and apparently and probably the other Russian words that appear in the dialogs do not exist in tl either, apparently they were not extracted, for some reason.


1708187211616.png

1708187221269.png

1708187247968.png

1708187267564.png

1708187284208.png

1708187322273.png
 
  • Like
Reactions: anonymousException
Jan 22, 2024
80
57
So, I noticed that in various parts of the dialog, Russian words appear, when I used the word "Да-да" to search the scripts and see what was going on, I noticed that the word alone (as it appears in the dialogs), did not exist in the "tl" folder and apparently and probably the other Russian words that appear in the dialogs do not exist in tl either, apparently they were not extracted, for some reason.


View attachment 3362611

View attachment 3362613

View attachment 3362614

View attachment 3362616

View attachment 3362617

View attachment 3362619
already in FAQ :
other
It probably remains other case that some sentences seem not to be translated after translation

It depends on the original code , extraction may not completely covered if the original code is not quite translation-friendly

To avoid extra useless extraction , the extraction function in this tool will not extract sentences match the following style :

the length of sentences (space and special synbol will be counted as zero length) lower than 8

for example :
Code:
"I know [special symbol]"
the actual effect content is

Code:
Iknow
the length is only 5 , so it will not be extracted by the extraction from the tool

Besides the contents in will also not be translated due to switch code may contained in it
 

Awa.

Newbie
Jun 7, 2022
50
17
already in FAQ :
other
It probably remains other case that some sentences seem not to be translated after translation

It depends on the original code , extraction may not completely covered if the original code is not quite translation-friendly

To avoid extra useless extraction , the extraction function in this tool will not extract sentences match the following style :

the length of sentences (space and special synbol will be counted as zero length) lower than 8

for example :
Code:
"I know [special symbol]"
the actual effect content is

Code:
Iknow
the length is only 5 , so it will not be extracted by the extraction from the tool

Besides the contents in will also not be translated due to switch code may contained in it
my bad
 
  • Hey there
Reactions: anonymousException