Just study the code of the tutorial game. Go to the preferences screen and see that it can be played in Japanese too. I've already translated it to Portuguese:NoJoker wrote:Sorry I don't get the new translation system.
- Created new translation files using the launcher (name = portuguese);
- Edited the newly created files inside the tl folder, writing Portuguese sentences;
- Added a new button in the preferences screen.
Code: Select all
textbutton u"Português" action Language("portuguese")My tutorial game now can be played in English, Japanese or Portuguese.
Of course I would still like to know how to test the active language to trigger special actions (like showing a different bitmap, for example).
Okay, found the documentation I was looking for: http://www.renpy.org/dev-doc/html/trans ... anslations

