Automatic text translator for games on the RenPy.

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
User avatar
Andredron
Miko-Class Veteran
Posts: 535
Joined: Thu Dec 28, 2017 2:37 pm
Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
Location: Russia
Contact:

Automatic text translator for games on the RenPy.

#1 Post by Andredron » Fri Jan 11, 2019 6:17 pm

For translation using the service "Yandex-translator".

Git - https://github.com/NyashniyVladya/Translator3000

User's manual:

1. Copy "translator3000.rpa" in the game folder, in the game directory for which translation is needed.

2. We start the game and, after launch, turn it off.

3. Open the file "vladya_translator_setting.json", which appeared in the game directory.

4. Insert the API key "Yandex" (instructions for obtaining below) in quotes, replacing the original text

Image

5. We change the translation parameters to the necessary ones, if necessary:
Parametr GameLanguage :
The language of the game itself, WHICH need a translation.

Parametr directionOfTranslation:
The language, WHICH need a translation
Available language codes can be found here -https://tech.yandex.ru/translate/doc/dg ... _languages

6. We use

Where to get the free API key "Yandex translator":

1. Login in your Yandex account, on behalf of which requests will be sent.

2. We follow the link API "Yandex" - https://translate.yandex.ru/developers/keys

3. Click "Create a key" and give it a name, if you plan to create several keys, so as not to confuse.

Image
https://user-images.githubusercontent.c ... c37c95.png


4. Copy the generated key.


Image -
https://user-images.githubusercontent.c ... 7c94d4.png


5. Paste it into the file, replacing the original text.

Image
I'm writing a Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18

Help me to register in QQ International

Honest Critique

User avatar
Andredron
Miko-Class Veteran
Posts: 535
Joined: Thu Dec 28, 2017 2:37 pm
Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
Location: Russia
Contact:

Re: Automatic text translator for games on the RenPy.

#2 Post by Andredron » Mon Aug 31, 2020 2:41 pm

New version add Google translate

https://github.com/NyashniyVladya/Translator3000
I'm writing a Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18

Help me to register in QQ International

Honest Critique

User avatar
Donmai
Eileen-Class Veteran
Posts: 1919
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Automatic text translator for games on the RenPy.

#3 Post by Donmai » Tue Sep 08, 2020 9:12 pm

Very useful, thanks for posting. Successfully used it to read this game.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: No registered users