English and Japanese

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Brxndan
Newbie
Posts: 2
Joined: Sat Feb 17, 2018 12:08 pm
Contact:

English and Japanese

#1 Post by Brxndan »

I'm trying to make it so when you go into "Preferences" Section of the Main Menu, I want to make it so you can put it in either English or Japanese but I can't do it. I have to code to do it, but when I open the game and click "Japanese" everything just disappears, I've looked around for an idea of how to do it but nothing works, for example, I have a font that allows Japanese to work, but I still can't get it in the game, I have the translated files or whatever from the "Generate Translations" from the renpy thing. Can anyone help me?

Code: Select all

            frame:
                style_prefix "pref"
                has vbox

                label "Text Language"
                textbutton "English" action Language(None)
                textbutton "Japanese" action Language("japanese")


Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot]