Reputation: 1
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
Upvotes: 0
Views: 292