CREATE and FUCK your own AI GIRLFRIEND 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
55
Introduce:
A translator for renpy based on multi tranlation engines and supports extract untranslated words and translate
supported_langauge.png

interface_editor.png
interface_v2.1.8.png

translated_contents.png
One Key Translate
Support one key translate , just select the target language and the font file and the game will be translated automatically
View attachment one_key_translate.mp4

















Pack Game(Generate Translation Mod)
Support pack game package based on , you can make a translation mod now
View attachment pack_game.mp4

















Translate with brower
View attachment web_brower_translate2.mp4


















View attachment web_brower_translate.mp4


















View attachment export_import_html.mp4

View attachment export_import_html2.mp4



































Convert To Html

View attachment convert_to_html.mp4


















Add Entrance

View attachment add_entrance.mp4

















Runtime Extract
(can extract only dialogues without unpacking the game and the format is block like official)
View attachment extract_runtime.mp4



















Official Extract
( equal to the ren'py sdk )
View attachment official_extract.mp4


















Unpack Game
(through runtime hook which can bypass most encryption):
View attachment unpack_game.mp4

















Editor Mode
View attachment renpy_editor.mp4

















Local Glossary

For advanced edit , it is recommended to use professional software such as EXCEL

This tool only supports loading and simple modifications

View attachment local_glossary.mp4

















Imported Glossary format:
You should offer 2 columns :
Original : the words before replaced
Current(Replaced) : the words replaced
The first row should be the header (just for show you can rename them)
imported_local_glossary.png
Translate Files

View attachment translate_files.mp4



















Translate Directory

View attachment translate_directory.mp4

















Replace fonts

View attachment replace_font_new.mp4
















Extract File(s)
View attachment extract_files.mp4













Extract Directory(s)

View attachment extract_directories.mp4


















Extract all extractable contents to tl directory and rename(if tl name is empty will just extracted to the tl directory):
View attachment extract_tl_directory_rename.mp4



















Supported Translation Engines:

TranslatorSupported Language numberChargeServiceCountryReference
108Free | Token Required America
11 | 114Free | Token Required China
29Token Required Germany
108Token Required America
214Free China
200Free / Italy
133Free / Italy
109Free Cyprus
8Free / China
7Free China

Target:
As you see the above translated contents. The original contents will be remained after translation.
If the contents are short of the original contents(behind the "#" as comment) , translation will not take effect on them
The reason why I made this tool is not to replace the real translator's work , but to help.
The translated contents will be not accurate enough due to auto google translation.
So the original contents will do the effect. You can re-translate the translated contents according to the original contents. And what you modified will not be replaced during next translation.

This tool also take care of the special symbols like "{}" "[]" and "<>" in untranslated contents

Features:
  • Completely free and open-source
  • Support Editor Mode to edit file
  • Supoort local glossary to improve translation
  • Support special symbols in untranslated contents like "{}" "[]" and "<>" , the contents in special symbols will not be translated.Example:
  • Python:
    # untranslated contents:
    # "Your name is [povname], right?"
    
    # Chinese translated:
    "你的名字是 [povname] ,对吗?"
    
    # Japanese translated:
    "あなたの名前は [povname] ですよね?"
  • Support extract the untranslated words ren'py engine has not discovered
  • Support input,brower and drag the file(s) and directory
  • Support translate/extract for single rpy file
  • Support translate/extract for all rpy files under directory
  • Support replace the fonts used by translated language
  • Support be compatible with the translated game that not translated by this translator. The translated contents before will be remained and just translate the untranslated contents
  • Support skip extract the extracted contents , need not to be worried about repeat extraction
    For example , if the translation contents already exist in tl folder like :
    Python:
    old "Hello"
    new "こんにちは"
    or :
    Python:
    # game/xxx.rpy:1352
    translate japanese role_lose_7489b947:
    
    # "Hello"
    "こんにちは"
    Then "Hello" will not be extracted again
  • Support 108 kinds of language(Default Google Translation) , you can view the and the
  • Support remain the original words as comments after translation
  • Support real-time log output , you can check the progress about the translation
  • Support local proxy
  • Support multi translation engines
About OpenAI: you can refer to

Detail Tutorial:

Translate Result:
renpy_translator_translate_over.png
game_language_translated.png
Download:
 
Last edited:
Jan 22, 2024
80
55
Some errors made it impossible to translate certain lines.
You don't have permission to view the spoiler content. Log in or register now.
It's depend on the translation result. In order to skip translate special symbols like '[]' '{}' '<>' , this tool will replace the contents in special symbols in order nums.
For example :
"It’s [s_name]. And [y_name]."
will be replaced to
"It’s [0] . And [1] ."
Normally, this format will not be translated and will remain '[0]' and '[1]' , and the tool will restore the orginal contents with the ordered nums.
However , sometimes this format may be destroyed after translation. As you mentioned : "É [0] . E 1] ."
You can found that one '[' is missing , so this tool can't restore the original contents. And will not translate this line.
You may need to modify these certain lines manually.
Fortunately this situation occurs rarely , you need not to spend too much time to modify these certain lines.
 
  • Like
Reactions: Nobre

Awa.

Newbie
Jun 7, 2022
49
16
The tool really seems good, but I don't know if it's my lack of experience with the tool, or if in fact an error occurred, but in some dialogues, apparently the program swaps the " for &quot;.

imagem_2024-01-31_175432081.png

imagem_2024-01-31_175319588.png

1706734562873.png

1706734580406.png
 
  • Like
Reactions: anonymousException

Awa.

Newbie
Jun 7, 2022
49
16
Hello again, I'm not sure if this is just a problem specific to this game's scripts, but the syntax of quotes in the translation ends up causing errors in the pasts tl scripts. In this case, it caused errors on 855 lines.

GAME: Returning to Mia
Renpy: 8.1.3

imagem_2024-02-01_023255704.png

1706765600263.png

1706765646043.png
 
  • Like
Reactions: anonymousException
Jan 22, 2024
80
55
Last edited:
  • Like
Reactions: Awa.
Jan 22, 2024
80
55
This happens, it has just been launched, these initial errors happen, I don't think I could even create a tool like this ;-;
You can add \ ahead of " in error sentences manually or delete all the translated file and re-translate it with new version : v1.2.6
 

jhonatanw

Engaged Member
Jun 21, 2022
2,843
3,045
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

Screenshot_20240211_103750_TermuxX11.png