'RenPy: Python .format translate
I'm creating a translation for a visual novel, and I can't translate the text with string formatting, does anyone know how to do this?
Code to translate:
$ gil_likes = "Teasing {0}, Basketball".format(Main)
The translation must be something like this:
old "Teasing Walter, Basketball" new "Дразнить Уолтера, Баскетбол"
I try to replace {0} with a specific name, but then the translation works only for that specific name, the problem is that the player can enter any name
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
