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

5.00 star(s) 2 Votes

denadm

Member
Apr 7, 2023
171
206
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
119
193
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
171
206
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
119
193
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
119
193
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
171
206
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
119
193
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

LordGamer00

Member
Modder
Aug 27, 2022
119
193
217
I have this version installed... I constantly update Python because I need it for other programs...
If you've installed the libraries and Python, it should work logically, but you've mentioned it isn't working. I'm not sure why. If there are no issues during the day, I'll release my own version. If you want one that includes artificial intelligence translation engines and more interface language support, you can wait for that.
 

konstant61

Member
May 3, 2017
219
83
291
If you've installed the libraries and Python, it should work logically, but you've mentioned it isn't working. I'm not sure why. If there are no issues during the day, I'll release my own version. If you want one that includes artificial intelligence translation engines and more interface language support, you can wait for that.
I'll wait...
 

LordGamer00

Member
Modder
Aug 27, 2022
119
193
217
RenLocalizer v2.4.8 is out: The Local AI Revolution!
RenLocalizer is now smarter, freer, and more robust. With the v2.4.8 update, we're removing the limits and putting you in complete control!

️ Local LLM Support (Ollama & LM Studio)
No need to rely on API keys or an internet connection! You can now use local models (Llama 3, Mistral, etc.) running via Ollama or LM Studio directly within RenLocalizer.

  • Complete Privacy: Your translations stay on your computer.
  • Uncensored Translation: Translate content blocked by standard models as you wish with uncensored local models.
Advanced AI Settings
You determine the character of your translation engine! With newly added advanced settings:

  • Temperature: Choose between more creative or more consistent translations.
  • Timeout & Retries: A more resilient structure against connection errors.
  • Token Control: Manage costs and speed by optimising output length.
Code Health and Performance
We've done a major clean-up in the background! We've completely standardised the project structure and eliminated the use of "Magic Numbers".

  • Faster & More Stable: Centralised constants and optimised code structure.
  • Universal Language Support: All labels in the settings panel are now fully compatible with Turkish, English, German, French, Spanish, Russian, Chinese, and Persian.
✨ User Experience Improvements

  • Clean Interface: Outdated buttons have been removed, so your focus is solely on translation.
  • Automatic Alerts: The system alerts you in advance when you select engines (Gemini/GPT) that risk getting caught in filters.


Links:



Note: I have released this update as a preview version and will change it to a normal version based on feedback.
 
  • Like
Reactions: Andy057
5.00 star(s) 2 Votes