For some weird reason, these texts are not localized. For example things like these:
inventory.rpy:
Code: Select all
(...)
textbutton "{image=/images/cursorsicons/icon_inventory.webp}" style "inventory_button" align (.91,.04) tooltip _("Inventory") action [
Show("inventory_screen"),
Hide("inventory_button"),
]
(...)
It works fine as it is.
Now, the translation for this is also created and the strings are translated into different languages:
/tl/german/inventory.rpy:
Code: Select all
translate german strings:
(...)
# game/inventory.rpy:80
old "Inventory"
new "Inventar"
(...)
All other strings are pulled and displayed correctly - even from the same file. But all tooltip-strings just stay at the default language.
What's the issue here?