I've just about finished up my visual novel, but I want players to be able to chose between playing the game in english or german, I've been using http://www.renpy.org/wiki/renpy/doc/coo ... ge_Support but I must be overlooking something or missing something 'cause here's what happened:
A screen did pop up, asking if I wanted eng or germ, and I clicked on german since I wanted to see if my coding for that had worked. And now the game permanantly plays in german and even if i shut the game down and re-open it, I don't get the question anymore.
So I guess I accidentally perma germaned my game haha.. whoops.
If anyone could maybe point me in the right direction that'd be swell <3
Here's my code if that helps at all:
Code: Select all
# The game starts here.
init -3 python:
if persistent.lang is None:
persistent.lang = "english"
lang = persistent.lang
label splashscreen:
if not persistent.chose_lang:
$ persistent.chose_lang = True
jump language_chooser
return
label language_chooser:
scene black
menu:
"{font=DejaVuSans.ttf}English{/font}":
$ persistent.lang = "english"
"{font=DejaVuSans.ttf}German{/font}":
$ persistent.lang = "german"
$ renpy.utter_restart()