diff options
Diffstat (limited to 'module/setup.py')
-rw-r--r-- | module/setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/setup.py b/module/setup.py index 367fc7c52..b865716cc 100644 --- a/module/setup.py +++ b/module/setup.py @@ -41,8 +41,9 @@ class Setup(): def start(self): - - lang = self.ask(u"Choose your Language / Wähle deine Sprache", "en", ["en", "de","it","pl", "fr", "cs", "es"]) + + langs = self.config.getMetaData("general", "language")["type"].split(";") + lang = self.ask(u"Choose your Language / Wähle deine Sprache", "en", langs) translation = gettext.translation("setup", join(self.path, "locale"), languages=["en", lang]) translation.install(True) |