nyashniyvladya / translator3000 Goto Github PK
View Code? Open in Web Editor NEWAutomatic translator of games made on Ren'Py engine.
Home Page: https://nyashniyvladya.github.io/
License: GNU General Public License v3.0
Automatic translator of games made on Ren'Py engine.
Home Page: https://nyashniyvladya.github.io/
License: GNU General Public License v3.0
.
Hello. It seems that your tool does not support Arabic. When I start the game, the text appears in the form of squares. Can you solve this problem please.
first of all thank you for your great work.
translator3000 is a fantastic program that I have recommended to many people.
These same people are the ones who have warned me that it has not worked for 2 days.
Thank you so much for everything
When the game progresses to a new dialogue that has never been translated, the game will experience a program freeze, and then the complete translation result can be displayed. The program freezes every time you start a new conversation.
However, looking back at the already translated dialogue will not cause the game program to freeze.
Здравствуйте, во-первых, простите меня, русский не мой родной язык.
Большое спасибо за предоставление такого замечательного инструмента для перевода, но у меня возникают некоторые проблемы при использовании Translator3000.
Я заранее включил предварительно загруженный перевод в нескольких играх. Спустя почти 24 часа я подтвердил, что работа над переводом закончена. После того, как игра заработала нормально, я закрыл игру, но через день попытался открыть игра снова, но обнаружена. Translator3000 больше не работает, независимо от того, запущена она или нет, пока игра входит в диалог, она либо будет отображать исходный язык, либо сообщать об ошибке. Больше сообщений об ошибках.
Я использую Translator3000 v2.7.1.
Я знаю, что вы сказали, что версия после Ren'Py 7.4 не поддерживает использование Translator3000, но странно то, что некоторые из моих предыдущих игр v7.4 и некоторых игр v6.99 впервые работали нормально, и проблема только в появились, когда их снова открыли.
Я обычный пользователь, поэтому не могу определить причину проблемы, поэтому для справки привожу несколько отчетов об ошибках.Надеюсь решить проблему как можно скорее
traceback.txt
traceback.txt
traceback.txt
traceback.txt
Привет. Это очень полезный код для людей без знания языка. Я наткнулся на него абсолютно случайно и она класно работала до последних обновлений. Все внезапно заглохло и я понял, что вышло обновление. До этого вообще не надо было ничего писать в set., достаточно было бросить tr3000 в папку Game. Сейчас к сожалению в большинстве игр перевод не работает (версии до 7.4). Либо совсем, либо переводит на кракозябры и точки (возможно не разбирает шрифты как в XUnity.AutoTranslator).
Hello with the new RenPy 7.4.0.1167 version always comes this error message,
traceback.txt
log.txt
do not know if it is known just wanted to draw attention to it.
Mfg.
currently working
(https://s2.dosya.tc/server16/i5yyr3/Translator3000.rar.html)
Hello, can you add a function: display the original language and the translation language at the same time
Вы проделали невероятную работу с Translator3000, но у программы есть серьёзный минус!
Она переводит игру только в режиме реального времени что вызывает лаги!
Было бы очень здорово если бы скрипт мог всё перевести заранее!
Спасибо за внимание!
Все было хорошо, переводчик работал нормально, но вдруг резко во всех играх, даже в тех которых раньше работал нормально после запуска игры начинает жутко фризить игру, единственное что помогает это нажатие в меню кнопки прекращения перевода, либо вообще удаление переводчика из папки игры, тогда игра начинает работать нормально без фризов. И что делать чтобы решить эту проблему непонятно, может это гугл так банит и реакция на это?
Почти в половине игр такая ошибка, как исправить ?
File "game/Translator3000Data/scripts/general.rpy", line 58, in init
File "game/Translator3000Data/scripts/imports.rpy", line 112, in save
WindowsError: [Error 5] : u'C:\Users\\udcc2\udceb\udce0\udce4'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/bootstrap.py", line 326, in bootstrap
renpy.main.main()
File "renpy/main.py", line 515, in main
renpy.game.context().run(node)
File "Translator3000Scripts/general.rpyc", line 2, in script
File "Translator3000Scripts/general.rpyc", line 2, in script
File "renpy/ast.py", line 922, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2218, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/Translator3000Data/scripts/general.rpy", line 608, in
File "game/Translator3000Data/scripts/general.rpy", line 101, in turn_on
File "game/Translator3000Data/scripts/general.rpy", line 58, in init
File "game/Translator3000Data/scripts/imports.rpy", line 112, in save
File "_translator3000/utils.py", line 53, in save
File "_translator3000/utils.py", line 70, in _save
File "_translator3000/utils.py", line 66, in _create_dir_for_file
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/os.py", line 150, in makedirs
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/os.py", line 150, in makedirs
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/os.py", line 157, in makedirs
WindowsError: [Error 5] : u'C:\Users\\udcc2\udceb\udce0\udce4'
In some games I tested the new version (2.5.4) and they all presented the same error when saving the game progress.
Some the error happened only after changing the name of the game's MC (main character) and in some other games only after some character event.
Oh! And I found it very interesting what was done in this version:
Very nice of you to implement in game this, thank you!
PS: Oh! And... is it possible to hide the update message for Translator3000 in version 2.4.13 so that it doesn't show up?
I still have this version and since version 2.5.4 has the problem of saving, I'm used it again 2.4.13... it would be nice to be able to hide the message if the person does not want to update at the moment.
PS2: Well the only way I found for the update message not to appear is to disable the internet, start the game and then activate the internet again for the update message not to appear.
Well, it works for me for now, but once the version problem 2.5.4 is resolved I must update.
Свежая версия заработала, но перевод чудовищно кривой. Ощущение, что он переводит не предложения, а слова..
Запускаю игру, меню слева появляется, не переводит. Запускаю предварительное сканирование, процесс завершается, перевода всё ещё нет
traceback.txt
.
Do you know if google has changed anything again that interferes with your tool?
I say this because the translation is no longer behaving like the old GoogleTranslate API, the text is getting strange in the dialogs, here is an example:
Yes, I did the test in some languages and same problem.
As you can see in game it comes out with a different/strange translation and in google translator it comes out with a translation that should come out in the game ... Did anything change with the sending/returning of the text?
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/gamecode/hubTown.rpy", line 281, in script
menu townMenu:
File "game/Translator3000Data/scripts/general.rpy", line 362, in call
TypeError: list indices must be integers, not str
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/gamecode/hubTown.rpy", line 281, in script
menu townMenu:
File "renpy/ast.py", line 1655, in execute
label = renpy.config.say_menu_text_filter(label)
File "game/Translator3000Data/scripts/general.rpy", line 362, in call
TypeError: list indices must be integers, not str
Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Wed Feb 2 23:26:40 2022
[/code]
Просто в какой-то момент перестал переводить, файлы удалял, впн\антивируса нет, он что требует от меня целые числа а не текст?
Translator3000 создаёт единый файл translations.json
в users\current\vladya's projects database\translator3000\Google\1.1
В него попадают переводы от всех игр, в результате он растёт до больших размеров, и предполагаю, что это создаст проблемы в будущем в виду того что, во первых он не очищается, а только увеличивается со временем, и во вторых скрипт грузит дополнительные строки перевода от других игр, совершенно лишние.
Рациональное предложение: этот файл должен сохраняться и загружаться из папки с самой игрой, например в папке _translator3000Data для каждой игры свой файл. После прохождения игры он просто удаляется вместе с игрой. Ну и нет мусора за пределами игровой папки.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/Translator3000Data/scripts/general.rpy", line 608, in
File "game/Translator3000Data/scripts/general.rpy", line 101, in turn_on
File "game/Translator3000Data/scripts/general.rpy", line 92, in init
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc4 in position 16: invalid continuation byte
How can I solve this problem? Thank you
Besides using google, can I use Bing?
Thank you for program.
I've used many types of programs but it didn't work, until I found your program, it's amazing it works
thank you very much.
The help talk about press ALT+~ but Spanish keyboards are not the same than english, and is unable to open.
Any Way to help me?
as you said
If there are native speakers of other languages who are willing to help translate this instruction into their language, I will be happy to add their translations. Thank you!
here I put it in Spanish in case you want to add it
https://f95zone.to/threads/lista-de-juegos-en-espanol-spanish-games.31851/post-4670843
thank you very much again for your great work
работает через раз я не знаю почему но эта ошибка может выскочить а может и не выскочить в одной и той же игра в одной (короче в одинаковых условиях) при этом иногда может переводить переводить а потом выйдет эта ошибка
traceback.txt
P.S. это не из за каракулей ведь в других играх гдё норм текст то же самое
The domain name google.com is slow to visit in China, this basically restricts Chinese users from using translate.google.com. However, google have made a mirror website translate.google.cn, which using domain name google.cn, and the server is set up in China. These two websites are completely mirrored websites, and the difference is limited to the location of the server, so they should be directly used for Translator3000.
Thank you for the program, it allows me to play happily as a non-native speaker, but there is a small problem that I hope to help solve, I have been using Translate All, but Translate All cannot translate selected items, which causes the program to get stuck when there are selected items
Доброго времени суток.
отключили свет, перестали работать все игры с переводчиком, без него всё ок
проблема решилась удалением папки user\ vladya's projects database , чистка текстового файла или удаление его не помогло
Сегодня заметил, что перестал переводить. Проверил на 3х играх
I read your instructions
Что-то перестал переводить В файле projects database\translator3000\Google\1.3\translations.json {"en": {"(I still can't believe this is real!)": {}, "Cordale, Everwood, and N.O.W.A., which stands for New Orleans Witch Academy.": {} тоесть строку для перевода видит но перевод возвращается пустым папки database и localtranslator удалял не помогло Перед этим играл в игру с французко русским переводом
Здравствуйте, почему то в последние дни стал падать переводчик без каких либо сообщений.
Просто выскакивает сообщение "Прекращена работа программы".
Причем несколько дней назад я играл в те игры, которые перестали запускаться.
Я запустил несколько разных игр, которые я уже запускал - все они молча падают - то есть дело не в конкретных настройках.
Log
Fri Oct 22 21:28:25 2021
Windows-7-6.1.7601-SP1
Ren'Py 7.4.0.1167
Bootstrap to the start of init.init took 0.17s
Early init took 0.00s
Loader init took 0.02s
Loading error handling took 0.04s
Loading script took 0.56s
Loading save slot metadata. took 0.01s
Loading persistent took 0.00s
Importing _renpysteam: ImportError('No module named _renpysteam',)
Set script version to: (7, 4, 0)
tried to follow the instructions but whenever there is a line to translate I get an the error page for example
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 1740, in script
plr "{color=#FF69B4}{i}Центр города, да?{/i}{/color}"
File "game/Translator3000Data/scripts/general.rpy", line 252, in call
File "game/Translator3000Data/scripts/general.rpy", line 301, in _apply_enabled_text_tags
File "game/Translator3000Data/scripts/general.rpy", line 175, in get_font
ValueError: No font file was found.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 1740, in script
plr "{color=#FF69B4}{i}Центр города, да?{/i}{/color}"
File "F:\NSFW\Lust City - Ver.1.2_Win\renpy\ast.py", line 626, in execute
what = renpy.config.say_menu_text_filter(what) # E1102
File "game/Translator3000Data/scripts/general.rpy", line 252, in call
File "game/Translator3000Data/scripts/general.rpy", line 301, in _apply_enabled_text_tags
File "game/Translator3000Data/scripts/general.rpy", line 175, in get_font
ValueError: No font file was found.
Windows-8-6.2.9200
Ren'Py 6.99.14.1.3218
LustCity.Beta 1.2.Beta.Little_horns.update
Tue Feb 16 20:39:21 2021
[/code]
Ohayo, minasan!
По всем возможным способам получения перевода есть два исхода:
Подобное не только с "Гуглом". Сегодня я написал парсер DeepL. Там ситуация та же.
Он распознаёт автоматичность запросов, даже с частотой 1 запрос в 5 секунд, что уже крайне медленно.
Насколько я понял, сейчас это вообще у всех переводчиков, за исключением, может быть, уж совсем ноунейм проектов.
В связи с этим, я вижу 5 вариантов дальнейших действий:
Вот так вот. Сам я без понятия, что делать, так что вкидываю вопрос на всеобщее обсуждение.
P.S.: Подписывайтесь на Патреон и закидывайте дэллары. Что я его зря создавал, что ли...
FAQ:
There are two outcomes for all possible ways to get a translation:
It's not just with Google. Today I wrote a parser for DeepL. The situation there is the same.
It recognizes automatic queries, even with a frequency of 1 query per 5 seconds, which itself is extremely slow.
As far as I understand, this is the situation with all translation services now, except maybe for some very low-end projects.
To summarize, I see 5 options for further action:
There you go. I myself have no idea what to do, so I'm throwing the question out there for discussion.
P.S.: Subscribe to my Patreon account and support me with a coin or two.
FAQ:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/Translator3000Data/scripts/general.rpy", line 608, in
File "game/Translator3000Data/scripts/general.rpy", line 101, in turn_on
File "game/Translator3000Data/scripts/general.rpy", line 92, in init
ValueError: No JSON object could be decoded
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/bootstrap.py", line 326, in bootstrap
renpy.main.main()
File "renpy/main.py", line 515, in main
renpy.game.context().run(node)
File "game/Translator3000Scripts/general.rpyc", line 2, in script
��ѓ�C/0�a��Y-'f��55�NJ�3���q����_��V�^
File "game/Translator3000Scripts/general.rpyc", line 2, in script
��ѓ�C/0�a��Y-'f��55�NJ�3���q����_��V�^
File "renpy/ast.py", line 922, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2218, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/Translator3000Data/scripts/general.rpy", line 608, in
File "game/Translator3000Data/scripts/general.rpy", line 101, in turn_on
File "game/Translator3000Data/scripts/general.rpy", line 92, in init
File "_translator3000/translator.py", line 19, in init
File "_translator3000/_google/translator.py", line 42, in init
File "_translator3000/translator_abstract.py", line 32, in init
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/json/init.py", line 291, in load
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/json/init.py", line 339, in loads
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/json/decoder.py", line 364, in decode
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python2.7/json/decoder.py", line 382, in raw_decode
ValueError: No JSON object could be decoded
Windows-10-10.0.19041
Ren'Py 7.4.2.1292
The Wife Trainer Files 0.7n
Fri Sep 17 05:09:08 2021
I tried to translate these two games via translator3000 but it didn't translate the game in both of them.please check these games, because both files are not rpyc but rpa If you solve one, the other probably has the same problem.
CorruptedKingdoms
ChampionOfRealms
При запуске некоторых игр с программой translator3000 игры вылетают с такой ошибкой .
Можете проверить на игре Elysion и Rainy Day .
А так программа классная .
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/Translator3000Data/scripts/imports.rpy", line 17, in
TypeError: 'dict_keys' object does not support indexing
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/bootstrap.py", line 326, in bootstrap
renpy.main.main()
File "renpy/main.py", line 511, in main
renpy.game.context().run(node)
File "Translator3000Scripts/imports.rpyc", line 2, in script
File "Translator3000Scripts/imports.rpyc", line 2, in script
File "renpy/ast.py", line 908, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2104, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/Translator3000Data/scripts/imports.rpy", line 17, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "_translator3000/init.py", line 6, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "requests/init.py", line 52, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "requests/packages/init.py", line 27, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "requests/packages/urllib3/init.py", line 8, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "requests/packages/urllib3/connectionpool.py", line 35, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "requests/packages/urllib3/connection.py", line 18, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "tlslite/init.py", line 27, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "tlslite/api.py", line 11, in
File "renpy/loader.py", line 953, in load_module
exec(code, mod.dict)
File "tlslite/tlsconnection.py", line 23, in
TypeError: 'dict_keys' object does not support indexing
Whenever I leave Self-voice enabled
Before speaking text, say "Translator3000 version 2.7.0" and start.
The problem is that whenever I advance in the texts, it returns again before the dialogue to say on the voice active says "Translator3000 version 2.7.0"
Any game that i play with voice active happens this situation.
ends narrates dialogue, and move on to the next dialogue he repeats before the dialogue says "Translator3000 version 2.7.0"
Is there anything that can help me solve this problem
An incredibly useful tool, thank you very much.. But not in very good condition in terms of perfomance, will you make performance improvements?
Добрый день! При запуске с вставленным модулем перевода, игра не запускается.
Выдает ошибку. Не подскажите, что может быть?
traceback.txt
where the translated files
Выбирал шрифты от игры и в итоге 2 варианта....
https://d.radikal.ru/d05/2110/49/5ed319d85079.png
https://b.radikal.ru/b42/2110/41/059667be641a.png
Когда я снова открываю некоторые игры, появляется это сообщение об ошибке
traceback.txt
hello i am getting the error i mentioned in the title can you update the software?
Hello. This "I'm sorry, but an uncaught exception occurred." is happening to me when using the current 'Translator3000' and 2 version ago. what is the reason for this error? this happened to me with some games, and some who could use the program normally but with the new version of the game the same error appeared. is it possible for the user to resolve this error?
Hi Vladya, im asking to you.
why color code cannot detected into translated text?
for example originaly text is "{color=#0F0}Hii, my name is Kevin{/color}"
it must be show text with Green Color, but translator cannot read it and only show "Привет, меня зовут Кевин" without any color..
So, do you know to make Translator detected Color Code?
Answear Please. Thankyou
thank you for creating this wonderful program.
so far it is the best I have found to translate renpy games, but I would like to know if it is possible to use another translator besides google, like "Deepl", since it is the best quality one I know.
"allText"Опыт тоже очень плохой.Рекомендуется добавить функцию автономного перевода, хотя качество может снизиться, но производительность будет значительно улучшена.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.