Tool Ren'Py RenLocalizer - Automatic Translation Tool for Ren'Py Games

5.00 star(s) 2 Votes

denadm

Member
Apr 7, 2023
170
204
227
This is an interesting project. Is it possible to add translation using openrouter or local AI? And also other interface languages, such as Russian?
 
  • Like
Reactions: LordGamer00

LordGamer00

Member
Modder
Aug 27, 2022
112
190
217
This is an interesting project. Is it possible to add translation using openrouter or local AI? And also other interface languages, such as Russian?
Thank you for your comment and interest in the project!

Regarding translation via ChatGPT or Gemini APIs: I actually considered this, but I realized that certain terms or content in Ren'Py games often trigger strict content filters. This could lead to incomplete translations or, worse, getting the API key banned. However, integrating Local AI is a very logical step to bypass this. I tried implementing it before but faced some hurdles; I plan to try again once the software is more stable.

Adding interface languages (like Russian) is definitely on my mind, but I've been held back by constant technical issues. Right now, I'm working on a critical fix: the open-source version works fine, but the packaged (.exe) version crashes during the 'unrpa' process. As you can imagine, the bugs never seem to end. Once I stabilize the build, expanding language support and revisiting Local AI will be my top priorities. Thanks again for your suggestions!
 
  • Like
Reactions: Andy057

denadm

Member
Apr 7, 2023
170
204
227
I left a question and made a translation on your GitHub.

In fact, the models on openrouter are inexpensive, chatgpt and gemini suck via API. Mistral for $0.3 per 1 million characters is cool, no one else offers that much. I've already translated more than 10 novels with a selected prompt in the Translator++ program.

I wanted to change your source code, but I'm not a programmer. I asked gemini and copilot for help, but they screwed up and couldn't give me specific instructions.

The program itself works. I tried to translate something, but the source language turned out to be Spanish, and stupid Google Translate couldn't translate it into understandable language.

But I don't quite understand. The program just translates, but doesn't add the language to the menu?
 
Last edited:
  • Like
Reactions: LordGamer00

LordGamer00

Member
Modder
Aug 27, 2022
112
190
217
I left a question and made a translation on your GitHub.

In fact, the models on openrouter are inexpensive, chatgpt and gemini suck via API. Mistral for $0.3 per 1 million characters is cool, no one else offers that much. I've already translated more than 10 novels with a selected prompt in the Translator++ program.

I wanted to change your source code, but I'm not a programmer. I asked gemini and copilot for help, but they screwed up and couldn't give me specific instructions.

The program itself works. I tried to translate something, but the source language turned out to be Spanish, and stupid Google Translate couldn't translate it into understandable language.

But I don't quite understand. The program just translates, but doesn't add the language to the menu?
Hey, thanks a lot for the feedback and for diving into the code!

About OpenRouter: Your suggestion is spot on. I’ll definitely add OpenRouter support to the roadmap so users can plug in their own API keys and translate games without those annoying filters. It's a much better approach than the standard restricted APIs.

Regarding the Menu: I actually left the menu button out on purpose. Injecting code into the game's GUI (screens.rpy) is super risky and breaks things easily. Instead, RenLocalizer generates a file to automatically force the language on launch. It’s just a safer, bug-free way to get the translation running.

A small tip for coding: I noticed you tried to modify the source code with AI but got stuck. Honestly, trying to code via browser-based chat (like standard Gemini/Copilot web) is really tough because they have file limits and can't see the full context of the project.

If you want to experiment further, I highly recommend using a Code Editor (IDE) with AI extensions. This allows the AI to see your entire project structure. Also, using premium models makes a huge difference in coding. Personally, I rely on Gemini 3 Pro (High) or Claude Opus 4.5 (Think) for complex tasks (and sometimes Gemini 3 Flash for speed). It makes the process much smoother.

Thanks again for the support.
 
  • Like
Reactions: Andy057

LordGamer00

Member
Modder
Aug 27, 2022
112
190
217
RenLocalizer v2.4.7 is out! - Enhanced RPA Support
This update makes archive extraction (unrpa) processes much more stable and streamlines Command Line Interface (CLI) usage.

Critical Fixes and New Features

  1. RPA Archives Are Now Much More Stable (Dual-Engine Architecture)
  • Issue: The standard unrpa library could sometimes cause problems opening archives on certain systems or in certain games.
  • Solution: We have strengthened the existing unrpa infrastructure and added a backup native engine. If the standard method fails, the programme automatically switches to its own engine. This eliminates the possibility of archives not opening.
  1. CLI (Command Line Interface) is Now Smarter
  • Folder Support: You no longer have to select the .exe file directly when using the CLI. Simply provide the game's folder path (or the /game folder).
  • Automatic Mode Selection: The programme analyses the contents of the folder you provide to determine whether it is a game project or just a translation file and automatically sets the mode.
  • Bug Fixes: Conflicts in command line arguments have been resolved.
️ Other Improvements
  • Packaging settings have been optimised for Windows EXE versions.
  • General bug fixes have been implemented.


Links:



You don't have permission to view the spoiler content. Log in or register now.
 
Last edited:
  • Like
Reactions: Andy057 and CAT0X0

denadm

Member
Apr 7, 2023
170
204
227
I forked your repository RenLocalizer v2.4.7. I added Russian language support and the openrouter translation source, but I haven't tested the application.

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

LordGamer00

Member
Modder
Aug 27, 2022
112
190
217
I forked your repository RenLocalizer v2.4.7. I added Russian language support and the openrouter translation source, but I haven't tested the application.

You don't have permission to view the spoiler content. Log in or register now.
Thank you. Actually, I already have the new version ready, but I haven't released it yet. I've also added new translation engines that can be used locally or via the cloud, i.e., through an API. However, I haven't tested them yet because I don't have the hardware to run local AI or an API I can use. Still, I'll review your code and add anything that will contribute to the project. Thank you.
1767825152019.png

Note: I am open to language suggestions. If you have any languages in mind that you would like me to add, or if you would like me to add your language, I can do so.
 
  • Like
Reactions: Ara-sH

denadm

Member
Apr 7, 2023
170
204
227
As a result, I compiled a working version with Russian language support and openrouter.
 
5.00 star(s) 2 Votes