- Sep 23, 2019
- 48
- 20
Hi,
sorry if this post is in the wrong thread I was unsure where it might fit best.
I must say I'm totally new to the Renpy APi but found a few Games which I'll want to translate to another language.
Well, while still trying to wrap my head around the stuff I gave it a quick try to see what I got and what I've to deal with...
I quickly stumbled about things developer's done wrong (or it's me who is missing something here...)
Well, to give an example the first game script had input boxes which looked like this if I'll remember correctly:
So when I would like to automatically let the Renpy API extract those strings it wont work so I had to make adjustments like this all over the place:
So far so good not a big deal but then something strange happens because of a menu structure used by the developer:
in my translation template the following lines where added:
So as you might noticed two entry's (Deepthroat and Anal) are missing.
I've no clue why this happens nor how to fix this? A simple stupid idea I had first was manually
add them to the translation file which results in an already exist message which make it even more strange to me
because I'll looked everywhere basically in every script file it does not exist.
Well another strange thing which happen to me while talking about menu entry's was that some were shown after my
translation and some don't. I had to add a color value to them:
# not shown
# while this worked for me
Took me some time to figure this out is that normal? I'll guess not...
Hope someone can point me to the right direction.
API Version used: 7.3.5.606 on Macos 10.14.6
sorry if this post is in the wrong thread I was unsure where it might fit best.
I must say I'm totally new to the Renpy APi but found a few Games which I'll want to translate to another language.
Well, while still trying to wrap my head around the stuff I gave it a quick try to see what I got and what I've to deal with...
I quickly stumbled about things developer's done wrong (or it's me who is missing something here...)
Well, to give an example the first game script had input boxes which looked like this if I'll remember correctly:
renpy.input"What's your first name?"
So when I would like to automatically let the Renpy API extract those strings it wont work so I had to make adjustments like this all over the place:
renpy.input(_("What's your first name?"))
So far so good not a big deal but then something strange happens because of a menu structure used by the developer:
Python:
menu:
"Nothing too crazy" if ch1sexstyle == False:
$ ch1sexstyle = "lady"
$ carli_score += 1
jump ch1wantlady
"Wild and naughty" if ch1sexstyle == False:
$ carli_lust += 1
$ ch1sexstyle = "slut"
jump ch1wantslut
"Deepthroat" if ch1sexstyle == "slut" and ch1throat == False:
jump ch1wantdeepthroat
"Anal" if ch1sexstyle == "slut" and ch1anal == False:
$ ch1anal = True
jump ch1wantanal
"On with it" if ch1sexstyle:
jump ch1donation
jump ch1donation
Code:
old "Nothing too crazy"
new ""
# game/scene02.rpy:188
old "Wild and naughty"
new ""
# game/scene02.rpy:188
old "On with it"
new ""
I've no clue why this happens nor how to fix this? A simple stupid idea I had first was manually
add them to the translation file which results in an already exist message which make it even more strange to me
because I'll looked everywhere basically in every script file it does not exist.
Well another strange thing which happen to me while talking about menu entry's was that some were shown after my
translation and some don't. I had to add a color value to them:
# not shown
"Test"
# while this worked for me
"{color=#ffeebb}Test{/color"}
Took me some time to figure this out is that normal? I'll guess not...
Hope someone can point me to the right direction.
API Version used: 7.3.5.606 on Macos 10.14.6