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

user728

New Member
Jul 28, 2024
4
0
View attachment 3881779

Thank you for making a great program.
I tried to make a translation file using one key translate and modify it.
However, the order of writing is mixed like images, making it difficult to translate naturally.
Can the red square boxes be aligned when creating files with automatic translation?
Once again, thank you for making a great program.

# Sentences can be awkward because I used a translator because I am not familiar with English.
In the image above, I modified some of the text in order. From rpy.3052, it is the order in which the program was ordered.
 
Jan 22, 2024
80
55
View attachment 3881779

Thank you for making a great program.
I tried to make a translation file using one key translate and modify it.
However, the order of writing is mixed like images, making it difficult to translate naturally.
Can the red square boxes be aligned when creating files with automatic translation?
Once again, thank you for making a great program.

# Sentences can be awkward because I used a translator because I am not familiar with English.
Actually the red square boxes be aligned are not generated by my operation, it's generated by renpy-sdk (official tool)
And it's just comments which refer to the original code, it does not effect on the translation
 

user728

New Member
Jul 28, 2024
4
0
Actually the red square boxes be aligned are not generated by my operation, it's generated by renpy-sdk (official tool)
And it's just comments which refer to the original code, it does not effect on the translation
Yes, thank you again for your program.

All I need is to align with the actual game.
Now, One Key Translate puts line 3000 after line one, followed by line 1300.
I want the second line to come after the first line and the third line to come after that.
Is there such a function?

I apologize if my writing was rude. I'm not good at English, so it's hard for me to use correct sentences.
 

user728

New Member
Jul 28, 2024
4
0
Actually the red square boxes be aligned are not generated by my operation, it's generated by renpy-sdk (official tool)
And it's just comments which refer to the original code, it does not effect on the translation
Are you saying that your program has no adverse effect on changing the order of writing?
 
Jan 22, 2024
80
55
Are you saying that your program has no adverse effect on changing the order of writing?
Do you want to sort the comments in line orders?
I think it's realizable but produce little effect, it means the program needs to re-sort all the extracted items
It's not recommended to support it because most translators don't care about the order and they care more about the speed
 

rmanuelmr243

Newbie
May 16, 2019
19
0
Hello, I'm trying to translate MonGirlDreams-Alpha-v26.3a but it gives me an error. Before trying to translate it with One Key Translate the game worked, after using One Key Translate it stopped working.
You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:
Jan 22, 2024
80
55
t
Hello, I'm trying to translate MonGirlDreams-Alpha-v26.3a but it gives me an error. Before trying to translate it with One Key Translate the game worked, after using One Key Translate it stopped working.
You don't have permission to view the spoiler content. Log in or register now.
Delete the folder F:\translate\MonGirlDreams-Alpha-v26.3a-pc\game/gamecode/jsonProcessing
The folder is generated by the Unpack Game Package function, however the game is not actually packed
So you are not supposed to unpack the game again
 

rmanuelmr243

Newbie
May 16, 2019
19
0
t

Delete the folder F:\translate\MonGirlDreams-Alpha-v26.3a-pc\game/gamecode/jsonProcessing
The folder is generated by the Unpack Game Package function, however the game is not actually packed
So you are not supposed to unpack the game again
It has translated a few dialogues, the main menu, statistics, options, etc. but the vast majority of dialogues are still in English, did I make a mistake? by the way thanks for the help

edit: the rest of the dialogues is in .json \MonGirlDreams-Alpha-v26.3a-pc\game\Json
 
Last edited:
Jan 22, 2024
80
55
It has translated a few dialogues, the main menu, statistics, options, etc. but the vast majority of dialogues are still in English, did I make a mistake? by the way thanks for the help

edit: the rest of the dialogues is in .json \MonGirlDreams-Alpha-v26.3a-pc\game\Json
The game customize the text with json format, so the traditional translation does not work
You may need to ask the game author for help
 

AH133

New Member
Aug 19, 2024
4
2
Hello, I am new here, I would appreciate it if you could help me
My problem is that after the translation of the game from English to Persian, the language of the game was confused and incomprehensible. Is there a way to fix it? Thank you.
112.jpg
 
  • Hey there
Reactions: anonymousException
Jan 22, 2024
80
55
Hello, I am new here, I would appreciate it if you could help me
My problem is that after the translation of the game from English to Persian, the language of the game was confused and incomprehensible. Is there a way to fix it? Thank you.
View attachment 3993368
You need to offer a font file which support your target language (persian)
In One Key Translation Form, change the path of the default font
For persian, you can try the font file I offered : View attachment Vazirmatn-Bold.zip which is extracted from
Besides persian is a RTL language, do not forget to tick the RTL option
1725335994804.png
1725336096752.png
 
Last edited:
  • Like
Reactions: AH133

AH133

New Member
Aug 19, 2024
4
2
You need to offer a font file which support your target language (persian)
In One Key Translation Form, change the path of the default font
For persian, you can try the font file I offered : View attachment 3995041 which is extracted from
Besides persian is a RTL language, do not forget to tick the RTL option
View attachment 3995082
View attachment 3995086
Thank you very much, sir, you started my work. During the translation, a note file was opened that gave some errors, but now the translation works well in the game.
 
Last edited:
  • Red Heart
Reactions: anonymousException
Jan 22, 2024
80
55
Thank you very much, sir, you started my work. During the translation, a note file was opened that gave some errors, but now the translation works well in the game.
The game is already unpacked, so you are not supposed to unpack it again
And the error improved in version , thanks for your feedback
Fortunately the error does not matter because the error part is already unpacked
 
Last edited:
  • Like
Reactions: AH133

Eray9292

New Member
May 6, 2022
4
0
It is really an excellent application, but I wonder how we can use the things we do here on mobile devices, in short, how can we create APK?
 

hjvgh

New Member
Dec 24, 2023
1
0
please help

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/screens.rpy", line 606, in execute
    init -501 screen load():
  File "game/screens.rpy", line 606, in execute
    init -501 screen load():
  File "game/screens.rpy", line 610, in execute
    use file_slots(_("Загрузить"))
  File "game/screens.rpy", line 613, in execute
    init -501 screen file_slots(title):
  File "game/screens.rpy", line 613, in execute
    init -501 screen file_slots(title):
  File "game/screens.rpy", line 617, in execute
    use game_menu(title):
  File "game/screens.rpy", line 431, in execute
    init -501 screen game_menu(title, scroll, yinitial=0.0):
  File "game/screens.rpy", line 431, in execute
    init -501 screen game_menu(title, scroll, yinitial=0.0):
  File "game/screens.rpy", line 440, in execute
    frame:
  File "game/screens.rpy", line 443, in execute
    has hbox
  File "game/screens.rpy", line 449, in execute
    frame:
  File "game/screens.rpy", line 452, in execute
    if scroll == "viewport":
  File "game/screens.rpy", line 452, in <module>
    if scroll == "viewport":
NameError: name 'scroll' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "renpy/ast.py", line 821, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
    python hide:
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
    ui.interact()
  File "renpy/ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 2215, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "renpy/display/core.py", line 2745, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "renpy/display/displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/displayable.py", line 434, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 480, in visit_all
    callback(self)
  File "renpy/display/core.py", line 2745, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "renpy/display/screen.py", line 491, in per_interact
    self.update()
  File "renpy/display/screen.py", line 697, in update
    self.screen.function(**self.scope)
  File "game/screens.rpy", line 606, in execute
    init -501 screen load():
  File "game/screens.rpy", line 606, in execute
    init -501 screen load():
  File "game/screens.rpy", line 610, in execute
    use file_slots(_("Загрузить"))
  File "game/screens.rpy", line 613, in execute
    init -501 screen file_slots(title):
  File "game/screens.rpy", line 613, in execute
    init -501 screen file_slots(title):
  File "game/screens.rpy", line 617, in execute
    use game_menu(title):
  File "game/screens.rpy", line 431, in execute
    init -501 screen game_menu(title, scroll, yinitial=0.0):
  File "game/screens.rpy", line 431, in execute
    init -501 screen game_menu(title, scroll, yinitial=0.0):
  File "game/screens.rpy", line 440, in execute
    frame:
  File "game/screens.rpy", line 443, in execute
    has hbox
  File "game/screens.rpy", line 449, in execute
    frame:
  File "game/screens.rpy", line 452, in execute
    if scroll == "viewport":
  File "game/screens.rpy", line 452, in <module>
    if scroll == "viewport":
NameError: name 'scroll' is not defined

Windows-10-10.0.22621 AMD64
Ren'Py 7.8.2.24090902
My Best Deal 3.4 3.4
Mon Sep 30 13:02:56 2024