CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Tool RenPy Translation tool

5.00 star(s) 4 Votes

elensarfinrod

New Member
Apr 11, 2019
12
1
I didn't check in the game but for sure that are errors.
If you want post your new screens.rpy of the translation , if I have time later I check it.

PS: Modified that lines and seems to work for me ... but I don't understand turkish :)
the problem has been fixed. I didn't fix a place. Thank you. :) <3
do you know how to change fonts? Tacito
 

Tacito

Forum Fanatic
Jul 15, 2017
5,570
46,973
  • Like
Reactions: v01d_08

frelon71

Active Member
Nov 29, 2018
832
593
Bonjour comment on fais pour traduire, je met l'emplacement des fichier .rpy, sa marque nothing to translate
 

▌Gin ▐

Engaged Member
Aug 15, 2019
2,758
32,352
I followed the procedure the translations are made, but on all games it gives me this error if I press load or save:
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/screens.rpy", line 591, in execute
    screen save():
  File "game/screens.rpy", line 591, in execute
    screen save():
  File "game/screens.rpy", line 595, in execute
    use file_slots(_("Save"))
  File "game/screens.rpy", line 605, in execute
    screen file_slots(title):
  File "game/screens.rpy", line 605, in execute
    screen file_slots(title):
  File "game/screens.rpy", line 609, in execute
    use game_menu(title):
  File "game/screens.rpy", line 421, in execute
    screen game_menu(title, scroll=None, yinitial=0.0):
  File "game/screens.rpy", line 421, in execute
    screen game_menu(title, scroll=None, yinitial=0.0):
  File "game/screens.rpy", line 430, in execute
    frame:
  File "game/screens.rpy", line 433, in execute
    hbox:
  File "game/screens.rpy", line 439, in execute
    frame:
  File "game/screens.rpy", line 442, in execute
    if scroll == "viewport":
  File "game/screens.rpy", line 473, in execute
    transclude
  File "game/screens.rpy", line 609, in execute
    use game_menu(title):
  File "game/screens.rpy", line 611, in execute
    fixed:
  File "game/screens.rpy", line 630, in execute
    grid gui.file_slot_cols gui.file_slot_rows:
  File "game/screens.rpy", line 638, in execute
    for i in range(gui.file_slot_cols * gui.file_slot_rows):
  File "game/screens.rpy", line 642, in execute
    button:
  File "game/screens.rpy", line 645, in execute
    has vbox
  File "game/screens.rpy", line 649, in execute
    text FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot")):
  File "renpy/common/00action_file.rpy", line 259, in FileTime
    return _strftime(format, time.localtime(mtime))
  File "renpy/common/00action_file.rpy", line 95, in _strftime
    rv = time.strftime(rv.encode("utf-8"), t).decode("utf-8")
ValueError: Invalid format string

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/_layout/screen_load_save.rpym", line 35, in script
    $ ui.interact()
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\ast.py", line 900, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\python.py", line 1930, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_layout/screen_load_save.rpym", line 35, in <module>
    $ ui.interact()
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\ui.py", line 289, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\core.py", line 2690, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\core.py", line 3074, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\core.py", line 534, in visit_all
    d.visit_all(callback, seen)
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\core.py", line 534, in visit_all
    d.visit_all(callback, seen)
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\core.py", line 534, in visit_all
    d.visit_all(callback, seen)
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\core.py", line 534, in visit_all
    d.visit_all(callback, seen)
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\screen.py", line 424, in visit_all
    callback(self)
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\core.py", line 3074, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\screen.py", line 434, in per_interact
    self.update()
  File "L:\Progetti RenPy\Project\53x – Homecoming [v0.0.3] [Agent 53X]\renpy-7.3.5-sdk\53XHomecoming-0.0.3-win\renpy\display\screen.py", line 619, in update
    self.screen.function(**self.scope)
  File "game/screens.rpy", line 591, in execute
    screen save():
  File "game/screens.rpy", line 591, in execute
    screen save():
  File "game/screens.rpy", line 595, in execute
    use file_slots(_("Save"))
  File "game/screens.rpy", line 605, in execute
    screen file_slots(title):
  File "game/screens.rpy", line 605, in execute
    screen file_slots(title):
  File "game/screens.rpy", line 609, in execute
    use game_menu(title):
  File "game/screens.rpy", line 421, in execute
    screen game_menu(title, scroll=None, yinitial=0.0):
  File "game/screens.rpy", line 421, in execute
    screen game_menu(title, scroll=None, yinitial=0.0):
  File "game/screens.rpy", line 430, in execute
    frame:
  File "game/screens.rpy", line 433, in execute
    hbox:
  File "game/screens.rpy", line 439, in execute
    frame:
  File "game/screens.rpy", line 442, in execute
    if scroll == "viewport":
  File "game/screens.rpy", line 473, in execute
    transclude
  File "game/screens.rpy", line 609, in execute
    use game_menu(title):
  File "game/screens.rpy", line 611, in execute
    fixed:
  File "game/screens.rpy", line 630, in execute
    grid gui.file_slot_cols gui.file_slot_rows:
  File "game/screens.rpy", line 638, in execute
    for i in range(gui.file_slot_cols * gui.file_slot_rows):
  File "game/screens.rpy", line 642, in execute
    button:
  File "game/screens.rpy", line 645, in execute
    has vbox
  File "game/screens.rpy", line 649, in execute
    text FileTime(slot, format=_("{#file_time}%A, %B %d %Y, %H:%M"), empty=_("empty slot")):
  File "<screen language>", line 649, in <module>
  File "renpy/common/00action_file.rpy", line 259, in FileTime
    return _strftime(format, time.localtime(mtime))
  File "renpy/common/00action_file.rpy", line 95, in _strftime
    rv = time.strftime(rv.encode("utf-8"), t).decode("utf-8")
ValueError: Invalid format string

Windows-8-6.2.9200
Ren'Py 7.2.2.491
53X Homecoming 0.0.3
Thu Aug 20 17:52:42 2020
 

wasya2009

Newbie
Dec 13, 2018
78
35
да, это давняя ошибка, которую v01d_08 до сих пор не исправил.:eek:
you should be fix (copy and paste original line) in path game->tl->common.rpy
Code:
# 00action_file.rpy:237
    old "%b %d, %H:%M"
    new "%b %d, %H:%M"
или как-то так, точнее сказать не могу у меня SDK старой версии
 
  • Like
Reactions: ▌Gin ▐

▌Gin ▐

Engaged Member
Aug 15, 2019
2,758
32,352
да, это давняя ошибка, которую v01d_08 до сих пор не исправил.:eek:
you should be fix (copy and paste original line) in path game->tl->common.rpy
Code:
# 00action_file.rpy:237
    old "%b %d, %H:%M"
    new "%b %d, %H:%M"
или как-то так, точнее сказать не могу у меня SDK старой версии
Я сделал, как ты сказал, но игра больше не запускается
Screenshot_1.jpg
I did as you said but the game doesn't start anymore
 

wasya2009

Newbie
Dec 13, 2018
78
35
скинь файлы screens.rpy и common.rpy, гляну. Из папки с переводом и оригинальные
а как там было, до этого?

old "%b %d, %H:%M"
или
old "%A, %B %d %Y, %H:%M"
короче рядом с % не должно быть пробелов: %буква(без пробела) зпт
 
Last edited:

▌Gin ▐

Engaged Member
Aug 15, 2019
2,758
32,352
attached the folders, the translation is in Italian.
***
Прилагаются папки, перевод на итальянский язык.
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
да, это давняя ошибка, которую v01d_08 до сих пор не исправил.:eek:
you should be fix (copy and paste original line) in path game->tl->common.rpy
Code:
# 00action_file.rpy:237
    old "%b %d, %H:%M"
    new "%b %d, %H:%M"
или как-то так, точнее сказать не могу у меня SDK старой версии
Hello, can you give some examples? How can I reproduce this?
 

wasya2009

Newbie
Dec 13, 2018
78
35
Hello, can you give some examples? How can I reproduce this?
Добавь обработчик строки при переводе, если в ней есть символ %, оставить строку как есть(скопировать оригинал, убрав old вначале, и подставив new) Я хз, какую еще логику прописать. Ну или обработчик, который будет искать после перевода строчки с % и заменять их оригинальными, да там пара строк будет не переведена, зато больше не будет выскакивать ошибка при попытке сохраниться. Вообще же там 2 критических исключения с % которые трогать нельзя(ломают игру, они первые в списках common и screens) И в них, как ни странно вообще нечего переводить, но их упорно ломают онлайн трансляторы.

если будет неправильный синтакс:
common.rpy
old "%b %d, %H:%M" - критичный отображает дату сохранения
old "Save slot %s: [text]" - менее критичный
old "Load slot %s: [text]" - менее критичный
old "Saved screenshot as %s." - вызовет ошибку при скриншоте
old "Rectangle: %r" - хз
old "Mouse position: %r" - хз

screens.rpy
old "{#file_time}%A, %B %d %Y, %H:%M" - отображает полную дату сохранения
 
Last edited:
  • Thinking Face
Reactions: v01d_08

ktemanuel

Engaged Member
Mar 17, 2019
2,581
3,907
v01d_08
Hello, I do not understand why this error is due, could you help me from now on thanks. I am translating a game from English to Spanish
 

v01d_08

Member
Modder
Jan 2, 2018
232
307
v01d_08
Hello, I do not understand why this error is due, could you help me from now on thanks. I am translating a game from English to Spanish
Please reproduce this error again, and then attach the file Log.txt here, I will take a look, maybe it contains some errors.

This error message means that Google did not send you the list of available languages for some reason. It also possible, that your google.json file contains some errors, or you did not turn on your cloud API, or or account expired, or there is no money left, etc - so Google does not respond to your requests.

Also there can be another reason - the translation tool can be blocked by your Firewall or some kind of network wall in your antivirus . Make sure it is turned off or you added the tool to exceptions.
 
Last edited:
5.00 star(s) 4 Votes