Skip to content

Conversation

felix-sky
Copy link

No description provided.

…reading in one_key_translate (the max_worker is now 5 by default)
@huseyin0072
Copy link

How do I add this to renpy translator?

@scholastique237
Copy link

the curent version of the engine Google is old and a very bad version. How can I add the new Google API engine ?

@felix-sky
Copy link
Author

felix-sky commented Jul 20, 2025

How do I add this to renpy translator?

clone this repository -> gh pr checkout 76 -> python src/main.py @huseyin0072

@felix-sky
Copy link
Author

the curent version of the engine Google is old and a very bad version. How can I add the new Google API engine ?

I am afraid I have no idea what the api is, but this is how I do it. There is a custom engine option in renpy-translator, and you need to write an api in src/custom_engine (e.g. write something like _new_google.py). It's very simple so you can let AI to do that if you don't know how to write code. @scholastique237

@scholastique237
Copy link

Thank you. I tried with the help of ChatGPT because I'm not very good at Python. Unfortunately, I wasn't successful despite many attempts. The API doesn't work at all, even though it works in the Translator++ software, if you're familiar with it. The address used is: https://translate-pa.googleapis.com/v1/translateHtml
I really tried everything, but it definitely doesn’t work. I’m attaching the .py file I created, which doesn’t translate anything, and the .js file that was used in Translator++, which works fine
api google page.zip

@felix-sky
Copy link
Author

@scholastique237 I've added an issue here, you can try it out #77

@scholastique237
Copy link

Thank you very much, it works perfectly. Your work is excellent, and I truly admire you for sharing it for free as well. I hope that in the future, I'll be able to help and contribute without bothering you like I am now. Thank you again.

@huseyin0072
Copy link

Can you show me how to add single key translation and gemini api to renpy translator in video form?

@scholastique237
Copy link

I tried to translate in another language than english (I tried french) but it return :
translate return the original content

log is too large, only show last 1000 lines

@scholastique237
Copy link

Capture here is my configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants