chiark / gitweb /
Add language selection.
[cura.git] / Cura / gui / app.py
index 3ef52ba21cbf6251209a2881d6471caeaf9b11eb..3861dbc14d6efd13de58722d8683b61997c421c5 100644 (file)
@@ -45,7 +45,7 @@ class CuraApp(wx.App):
                from Cura.util import resources
                from Cura.util import version
 
-               resources.setupLocalization()  # it's important to set up localization at very beginning to install _
+               resources.setupLocalization(profile.getPreference('language'))  # it's important to set up localization at very beginning to install _
 
                #If we do not have preferences yet, try to load it from a previous Cura install
                if profile.getMachineSetting('machine_type') == 'unknown':