Search found 3 matches

by TioNick
Thu Oct 20, 2022 10:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems translating strings with variables
Replies: 4
Views: 161

Re: Problems translating strings with variables

Thanks, I'll finish the translation, and mark the non-translatable texts to send to the game dev in the future, to see if he can make the necessary changes.

If you want you can mark the topic as solved.
by TioNick
Thu Oct 20, 2022 6:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems translating strings with variables
Replies: 4
Views: 161

Re: Problems translating strings with variables

It worked, and to think that it was there in the translation documentation, but I didn't understand it for lack of a practical example. About example 2 and 3 I did it like this use text_stat("- ", __(" times -"), phoenix_petted_counter) use text_stat("- ", __(" days..."), (game.day - phoenix_fed_cou...
by TioNick
Wed Oct 19, 2022 6:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Problems translating strings with variables
Replies: 4
Views: 161

Problems translating strings with variables

When using Ren'py to generate the translation strings, there is often text that Ren'py cannot scan, and this is where I use the feature. translate {} strings: old "" new "" But there are strings that have variables outside the text, and because of this, I can't translate them. Examples: 1 text "Day:...