chiark / gitweb /
Initial fakeouts for Mangrove
[cura.git] / Cura / gui / configWizard.py
index 0dd0172608b49111e26125648b3ad7bb9e49665c..b5d8fa92f5f3d1300186eb7df39162fd53b49e09 100644 (file)
@@ -15,6 +15,7 @@ from Cura.util import machineCom
 from Cura.util import profile
 from Cura.util import gcodeGenerator
 from Cura.util import resources
+from Cura.util import version
 
 
 class InfoBox(wx.Panel):
@@ -62,7 +63,8 @@ class InfoBox(wx.Panel):
                self.extraInfoUrl = extraInfoUrl
                self.SetBackgroundColour('#FF8080')
                self.text.SetLabel(info)
-               self.extraInfoButton.Show(True)
+               if extraInfoUrl:
+                       self.extraInfoButton.Show(True)
                self.Layout()
                self.SetErrorIndicator()
                self.Refresh()
@@ -106,23 +108,153 @@ class InfoBox(wx.Panel):
                self.busyState = None
                self.bitmap.SetBitmap(self.attentionBitmap)
 
+class ImageButton(wx.Panel):
+       DefaultOverlay = wx.Bitmap(resources.getPathForImage('ImageButton_Overlay.png'))
+       IB_GROUP=1
+       __groups__ = {}
+       __last_group__ = None
+       def __init__(self, parent, label, bitmap, extra_label=None, overlay=DefaultOverlay, style=None):
+               super(ImageButton, self).__init__(parent)
+
+               if style is ImageButton.IB_GROUP:
+                       ImageButton.__last_group__ = self
+                       ImageButton.__groups__[self] = [self]
+                       self.group = self
+               else:
+                       if ImageButton.__last_group__:
+                               ImageButton.__groups__[ImageButton.__last_group__].append(self)
+                               self.group = ImageButton.__last_group__
+                       else:
+                               self.group = None
+               self.sizer = wx.StaticBoxSizer(wx.StaticBox(self), wx.VERTICAL)
+               self.SetSizer(self.sizer)
+               self.bitmap = bitmap
+               self.original_overlay = overlay
+               self.overlay = self.createOverlay(bitmap, overlay)
+               self.text = wx.StaticText(self, -1, label)
+               self.bmp = wx.StaticBitmap(self, -1, self.bitmap)
+               if extra_label:
+                       self.extra_text = wx.StaticText(self, -1, extra_label)
+               else:
+                       self.extra_text = None
+               self.selected = False
+               self.callback = None
+
+               self.sizer.Add(self.text, 0, flag=wx.LEFT|wx.RIGHT|wx.ALIGN_CENTER, border=5)
+               self.sizer.Add(self.bmp, 1, flag=wx.ALL|wx.ALIGN_CENTER|wx.EXPAND, border=5)
+               if self.extra_text:
+                       self.sizer.Add(self.extra_text, 0, flag=wx.LEFT|wx.RIGHT|wx.ALIGN_CENTER, border=5)
+               self.bmp.Bind(wx.EVT_LEFT_UP, self.OnLeftClick)
+
+       def __del__(self):
+               if self.group:
+                       ImageButton.__groups__[self.group].remove(self)
+                       if self == self.group:
+                               for ib in ImageButton.__groups__[self.group]:
+                                       ib.group = None
+                               del ImageButton.__groups__[self.group]
+                               if ImageButton.__last_group__ == self:
+                                       ImageButton.__last_group__ = None
+
+       def TriggerGroupCallbacks(self):
+               if self.group:
+                       for ib in ImageButton.__groups__[self.group]:
+                               if ib.GetValue() and ib.callback:
+                                       ib.callback()
+                                       break
+               else:
+                       if self.GetValue() and self.callback:
+                               self.callback()
+
+       def OnLeftClick(self, e):
+               self.SetValue(True)
+
+       def GetValue(self):
+               return self.selected
+
+       def SetValue(self, value):
+               old_value = self.selected
+               self.selected = bool(value)
+               self.bmp.SetBitmap(self.overlay if self.GetValue() else self.bitmap)
+               if self.selected and self.group:
+                       for ib in ImageButton.__groups__[self.group]:
+                               if ib == self:
+                                       continue
+                               ib.SetValue(False)
+               self.Layout()
+               if self.callback and not old_value and self.selected:
+                       self.callback()
+
+       def SetLabel(self, label):
+               self.text.SetLabel(label)
+               self.Layout()
+
+       def SetExtraLabel(self, label):
+               if self.extra_text:
+                       self.extra_text.SetLabel(label)
+               else:
+                       self.extra_text = wx.StaticText(self, -1, label)
+                       self.sizer.Add(self.extra_text, 0, flag=wx.LEFT|wx.RIGHT|wx.ALIGN_CENTER, border=5)
+               self.Layout()
+
+       def SetBitmap(self, bitmap):
+               self.bitmap = bitmap
+               self.overlay = self.createOverlay(bitmap, self.original_overlay)
+               self.bmp.SetBitmap(self.overlay if self.GetValue() else self.bitmap)
+               self.Layout()
+
+       def SetOverlay(self, overlay):
+               self.original_overlay = overlay
+               self.overlay = self.createOverlay(self.bitmap, self.original_overlay)
+               self.bmp.SetBitmap(self.overlay if self.GetValue() else self.bitmap)
+               self.Layout()
+
+       def OnSelected(self, callback):
+               self.callback = callback
+
+       def createOverlay(self, bitmap, overlay):
+               result = bitmap.GetSubBitmap(wx.Rect(0, 0, *bitmap.Size))
+               (width, height) = bitmap.GetSize()
+               overlay_image = wx.ImageFromBitmap(overlay)
+               overlay_image = overlay_image.Scale(width, height, wx.IMAGE_QUALITY_HIGH)
+               overlay_scaled = wx.BitmapFromImage(overlay_image)
+               dc = wx.MemoryDC()
+               dc.SelectObject(result)
+               dc.DrawBitmap(overlay_scaled, 0, 0)
+               dc.SelectObject(wx.NullBitmap)
+               return result
+
 
 class InfoPage(wx.wizard.WizardPageSimple):
        def __init__(self, parent, title):
                wx.wizard.WizardPageSimple.__init__(self, parent)
 
+               parent.GetPageAreaSizer().Add(self)
                sizer = wx.GridBagSizer(5, 5)
                self.sizer = sizer
                self.SetSizer(sizer)
 
-               title = wx.StaticText(self, -1, title)
-               title.SetFont(wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD))
-               sizer.Add(title, pos=(0, 0), span=(1, 2), flag=wx.ALIGN_CENTRE | wx.ALL)
+               self.title = wx.StaticText(self, -1, title)
+               font = wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD)
+               self.title.SetFont(font)
+               # HACK ALERT: For some reason, the StaticText keeps its same size as if
+               # the font was not modified, this causes the text to wrap and to
+               # get out of bounds of the widgets area and hide other widgets.
+               # The only way I found for the widget to get its right size was to calculate
+               # the new font's extent and set the min size on the widget
+               self.title.SetMinSize(self.GetTextExtent(font, title))
+               sizer.Add(self.title, pos=(0, 0), span=(1, 2), flag=wx.ALIGN_CENTRE | wx.ALL)
                sizer.Add(wx.StaticLine(self, -1), pos=(1, 0), span=(1, 2), flag=wx.EXPAND | wx.ALL)
                sizer.AddGrowableCol(1)
 
                self.rowNr = 2
 
+       def GetTextExtent(self, font, text):
+               dc = wx.ScreenDC()
+               dc.SetFont(font)
+               w,h = dc.GetTextExtent(text)
+               return (w, h)
+
        def AddText(self, info):
                text = wx.StaticText(self, -1, info)
                self.GetSizer().Add(text, pos=(self.rowNr, 0), span=(1, 2), flag=wx.LEFT | wx.RIGHT)
@@ -199,6 +331,14 @@ class InfoPage(wx.wizard.WizardPageSimple):
                self.rowNr += 1
                return bitmap
 
+       def AddPanel(self):
+               panel = wx.Panel(self, -1)
+               sizer = wx.GridBagSizer(2, 2)
+               panel.SetSizer(sizer)
+               self.GetSizer().Add(panel, pos=(self.rowNr, 0), span=(1, 2), flag=wx.ALL | wx.EXPAND)
+               self.rowNr += 1
+               return panel
+
        def AddCheckmark(self, label, bitmap):
                check = wx.StaticBitmap(self, -1, bitmap)
                text = wx.StaticText(self, -1, label)
@@ -210,11 +350,25 @@ class InfoPage(wx.wizard.WizardPageSimple):
        def AddCombo(self, label, options):
                combo = wx.ComboBox(self, -1, options[0], choices=options, style=wx.CB_DROPDOWN|wx.CB_READONLY)
                text = wx.StaticText(self, -1, label)
-               self.GetSizer().Add(text, pos=(self.rowNr, 0), span=(1, 1), flag=wx.LEFT | wx.RIGHT)
-               self.GetSizer().Add(combo, pos=(self.rowNr, 1), span=(1, 1), flag=wx.LEFT | wx.RIGHT)
+               self.GetSizer().Add(text, pos=(self.rowNr, 0), span=(1, 1), flag=wx.LEFT | wx.RIGHT | wx.ALIGN_CENTER)
+               self.GetSizer().Add(combo, pos=(self.rowNr, 1), span=(1, 1), flag=wx.LEFT | wx.RIGHT | wx.EXPAND)
                self.rowNr += 1
                return combo
 
+       def AddImageButton(self, panel, x, y, label, filename, image_size=None,
+                                          extra_label=None, overlay=ImageButton.DefaultOverlay, style=None):
+               ib = ImageButton(panel, label, self.GetBitmap(filename, image_size), extra_label, overlay, style)
+               panel.GetSizer().Add(ib, pos=(x, y), flag=wx.LEFT | wx.RIGHT | wx.BOTTOM, border=10)
+               return ib
+
+       def GetBitmap(self, filename, image_size):
+               if image_size == None:
+                       return wx.Bitmap(resources.getPathForImage(filename))
+               else:
+                       image = wx.Image(resources.getPathForImage(filename))
+                       image_scaled = image.Scale(image_size[0], image_size[1], wx.IMAGE_QUALITY_HIGH)
+                       return wx.BitmapFromImage(image_scaled)
+
        def AllowNext(self):
                return True
 
@@ -224,67 +378,41 @@ class InfoPage(wx.wizard.WizardPageSimple):
        def StoreData(self):
                pass
 
-
-class FirstInfoPage(InfoPage):
-       def __init__(self, parent, addNew):
-               if addNew:
-                       super(FirstInfoPage, self).__init__(parent, _("Add new machine wizard"))
-               else:
-                       super(FirstInfoPage, self).__init__(parent, _("First time run wizard"))
-                       self.AddText(_("Welcome, and thanks for trying Cura!"))
-                       self.AddSeperator()
-               self.AddText(_("This wizard will help you in setting up Cura for your machine."))
-               if not addNew:
-                       self.AddSeperator()
-                       self._language_option = self.AddCombo(_("Select your language:"), map(lambda o: o[1], resources.getLanguageOptions()))
-               else:
-                       self._language_option = None
-               # self.AddText(_("This wizard will help you with the following steps:"))
-               # self.AddText(_("* Configure Cura for your machine"))
-               # self.AddText(_("* Optionally upgrade your firmware"))
-               # self.AddText(_("* Optionally check if your machine is working safely"))
-               # self.AddText(_("* Optionally level your printer bed"))
-
-               #self.AddText('* Calibrate your machine')
-               #self.AddText('* Do your first print')
-
-       def AllowBack(self):
-               return False
-
-       def StoreData(self):
-               if self._language_option is not None:
-                       profile.putPreference('language', self._language_option.GetValue())
-                       resources.setupLocalization(self._language_option.GetValue())
-
 class PrintrbotPage(InfoPage):
        def __init__(self, parent):
-               self._printer_info = {
-                       # X, Y, Z, Filament Diameter, PrintTemperature, Print Speed, Travel Speed, Retract speed, Retract amount
-                       "Original": (130, 130, 130, 2.95, 208, 40, 70, 30, 1),
-                       "Simple Maker's Edition v1": (100, 100, 100, 1.75, 208, 40, 70, 30, 1),
-                       "Simple Maker's Edition v2 (2013 Printrbot Simple)": (100, 100, 100, 1.75, 208, 40, 70, 30, 1),
-                       "Simple Maker's Edition v3 (2014 Printrbot Simple)": (100, 100, 100, 1.75, 208, 40, 70, 30, 1),
-                       "Simple Maker's Edition v4 (Model 1405)": (100, 100, 100, 1.75, 208, 40, 70, 30, 1),
-                       "Simple Metal": (150, 150, 150, 1.75, 208, 40, 70, 30, 1),
-                       "Jr v1": (150, 100, 80, 1.75, 208, 40, 70, 30, 1),
-                       "Jr v2": (150, 150, 150, 1.75, 208, 40, 70, 30, 1),
-                       "LC v2": (150, 150, 150, 1.75, 208, 40, 70, 30, 1),
-                       "Plus v2": (200, 200, 200, 1.75, 208, 40, 70, 30, 1),
-                       "Plus v2.1": (200, 200, 200, 1.75, 208, 40, 70, 30, 1),
-                       "Plus v2.2 (Model 1404/140422)": (250, 250, 250, 1.75, 208, 40, 70, 30, 1),
-                       "Plus v2.3 (Model 140501)": (250, 250, 250, 1.75, 208, 40, 70, 30, 1),
-                       "Plus v2.4 (Model 140507)": (250, 250, 250, 1.75, 208, 40, 70, 30, 1),
-               }
-
-               super(PrintrbotPage, self).__init__(parent, "Printrbot Selection")
+               self._printer_info = [
+                       # X, Y, Z, Nozzle Size, Filament Diameter, PrintTemperature, Print Speed, Travel Speed, Retract speed, Retract amount, use bed level sensor
+                       ("Simple Metal", 150, 150, 150, 0.4, 1.75, 208, 40, 70, 30, 1, True),
+                       ("Metal Plus", 250, 250, 250, 0.4, 1.75, 208, 40, 70, 30, 1, True),
+                       ("Simple Makers Kit", 100, 100, 100, 0.4, 1.75, 208, 40, 70, 30, 1, True),
+                       (":" + _("Older models"),),
+                       ("Original", 130, 130, 130, 0.5, 2.95, 208, 40, 70, 30, 1, False),
+                       ("Simple Maker's Edition v1", 100, 100, 100, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("Simple Maker's Edition v2 (2013 Printrbot Simple)", 100, 100, 100, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("Simple Maker's Edition v3 (2014 Printrbot Simple)", 100, 100, 100, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("Jr v1", 115, 120, 80, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("Jr v2", 150, 150, 150, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("LC v1", 150, 150, 150, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("LC v2", 150, 150, 150, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("Plus v1", 200, 200, 200, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("Plus v2", 200, 200, 200, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("Plus v2.1", 185, 220, 200, 0.4, 1.75, 208, 40, 70, 30, 1, False),
+                       ("Plus v2.2 (Model 1404/140422/140501/140507)", 250, 250, 250, 0.4, 1.75, 208, 40, 70, 30, 1, True),
+                       ("Go v2 Large", 505, 306, 310, 0.4, 1.75, 208, 35, 70, 30, 1, True),
+               ]
+
+               super(PrintrbotPage, self).__init__(parent, _("Printrbot Selection"))
+               self.AddBitmap(wx.Bitmap(resources.getPathForImage('Printrbot_logo.png')))
                self.AddText(_("Select which Printrbot machine you have:"))
-               keys = self._printer_info.keys()
-               keys.sort()
                self._items = []
-               for name in keys:
-                       item = self.AddRadioButton(name)
-                       item.data = self._printer_info[name]
-                       self._items.append(item)
+               for printer in self._printer_info:
+                       if printer[0].startswith(":"):
+                               self.AddSeperator()
+                               self.AddText(printer[0][1:])
+                       else:
+                               item = self.AddRadioButton(printer[0])
+                               item.data = printer[1:]
+                               self._items.append(item)
 
        def StoreData(self):
                profile.putMachineSetting('machine_name', 'Printrbot ???')
@@ -295,13 +423,13 @@ class PrintrbotPage(InfoPage):
                                profile.putMachineSetting('machine_width', data[0])
                                profile.putMachineSetting('machine_depth', data[1])
                                profile.putMachineSetting('machine_height', data[2])
-                               profile.putProfileSetting('nozzle_size', '0.5')
-                               profile.putProfileSetting('filament_diameter', data[3])
-                               profile.putProfileSetting('print_temperature', data[4])
-                               profile.putProfileSetting('print_speed', data[5])
-                               profile.putProfileSetting('travel_speed', data[6])
-                               profile.putProfileSetting('retraction_speed', data[7])
-                               profile.putProfileSetting('retraction_amount', data[8])
+                               profile.putProfileSetting('nozzle_size', data[3])
+                               profile.putProfileSetting('filament_diameter', data[4])
+                               profile.putProfileSetting('print_temperature', data[5])
+                               profile.putProfileSetting('print_speed', data[6])
+                               profile.putProfileSetting('travel_speed', data[7])
+                               profile.putProfileSetting('retraction_speed', data[8])
+                               profile.putProfileSetting('retraction_amount', data[9])
                                profile.putProfileSetting('wall_thickness', float(profile.getProfileSettingFloat('nozzle_size')) * 2)
                                profile.putMachineSetting('has_heated_bed', 'False')
                                profile.putMachineSetting('machine_center_is_zero', 'False')
@@ -310,10 +438,33 @@ class PrintrbotPage(InfoPage):
                                profile.putMachineSetting('extruder_head_size_max_x', '0')
                                profile.putMachineSetting('extruder_head_size_max_y', '0')
                                profile.putMachineSetting('extruder_head_size_height', '0')
+                               if data[10]:
+                                       profile.setAlterationFile('start.gcode', """;Sliced at: {day} {date} {time}
+;Basic settings: Layer height: {layer_height} Walls: {wall_thickness} Fill: {fill_density}
+;Print time: {print_time}
+;Filament used: {filament_amount}m {filament_weight}g
+;Filament cost: {filament_cost}
+;M190 S{print_bed_temperature} ;Uncomment to add your own bed temperature line
+;M109 S{print_temperature} ;Uncomment to add your own temperature line
+G21        ;metric values
+G90        ;absolute positioning
+M82        ;set extruder to absolute mode
+M107       ;start with the fan off
+G28 X0 Y0  ;move X/Y to min endstops
+G28 Z0     ;move Z to min endstops
+G29        ;Run the auto bed leveling
+G1 Z15.0 F{travel_speed} ;move the platform down 15mm
+G92 E0                  ;zero the extruded length
+G1 F200 E3              ;extrude 3mm of feed stock
+G92 E0                  ;zero the extruded length again
+G1 F{travel_speed}
+;Put printing message on LCD screen
+M117 Printing...
+""")
 
 class OtherMachineSelectPage(InfoPage):
        def __init__(self, parent):
-               super(OtherMachineSelectPage, self).__init__(parent, "Other machine information")
+               super(OtherMachineSelectPage, self).__init__(parent, _("Other machine information"))
                self.AddText(_("The following pre-defined machine profiles are available"))
                self.AddText(_("Note that these profiles are not guaranteed to give good results,\nor work at all. Extra tweaks might be required.\nIf you find issues with the predefined profiles,\nor want an extra profile.\nPlease report it at the github issue tracker."))
                self.options = []
@@ -326,7 +477,7 @@ class OtherMachineSelectPage(InfoPage):
                        item.Bind(wx.EVT_RADIOBUTTON, self.OnProfileSelect)
                        self.options.append(item)
                self.AddSeperator()
-               item = self.AddRadioButton('Custom...')
+               item = self.AddRadioButton(_('Custom...'))
                item.SetValue(True)
                item.Bind(wx.EVT_RADIOBUTTON, self.OnOtherSelect)
 
@@ -344,12 +495,12 @@ class OtherMachineSelectPage(InfoPage):
 
 class OtherMachineInfoPage(InfoPage):
        def __init__(self, parent):
-               super(OtherMachineInfoPage, self).__init__(parent, "Cura Ready!")
+               super(OtherMachineInfoPage, self).__init__(parent, _("Cura Ready!"))
                self.AddText(_("Cura is now ready to be used!"))
 
 class CustomRepRapInfoPage(InfoPage):
        def __init__(self, parent):
-               super(CustomRepRapInfoPage, self).__init__(parent, "Custom RepRap information")
+               super(CustomRepRapInfoPage, self).__init__(parent, _("Custom RepRap information"))
                self.AddText(_("RepRap machines can be vastly different, so here you can set your own settings."))
                self.AddText(_("Be sure to review the default profile before running it on your machine."))
                self.AddText(_("If you like a default profile for your machine added,\nthen make an issue on github."))
@@ -357,9 +508,9 @@ class CustomRepRapInfoPage(InfoPage):
                self.AddText(_("You will have to manually install Marlin or Sprinter firmware."))
                self.AddSeperator()
                self.machineName = self.AddLabelTextCtrl(_("Machine name"), "RepRap")
-               self.machineWidth = self.AddLabelTextCtrl(_("Machine width (mm)"), "80")
-               self.machineDepth = self.AddLabelTextCtrl(_("Machine depth (mm)"), "80")
-               self.machineHeight = self.AddLabelTextCtrl(_("Machine height (mm)"), "55")
+               self.machineWidth = self.AddLabelTextCtrl(_("Machine width (mm)"), "80")
+               self.machineDepth = self.AddLabelTextCtrl(_("Machine depth (mm)"), "80")
+               self.machineHeight = self.AddLabelTextCtrl(_("Machine height (mm)"), "55")
                self.nozzleSize = self.AddLabelTextCtrl(_("Nozzle size (mm)"), "0.5")
                self.heatedBed = self.AddCheckbox(_("Heated bed"))
                self.HomeAtCenter = self.AddCheckbox(_("Bed center is 0,0,0 (RoStock)"))
@@ -385,13 +536,12 @@ class MachineSelectPage(InfoPage):
                super(MachineSelectPage, self).__init__(parent, _("Select your machine"))
                self.AddText(_("What kind of machine do you have:"))
 
-               self.LulzbotMiniRadio = self.AddRadioButton("Lulzbot Mini", style=wx.RB_GROUP)
-               self.LulzbotMiniRadio.Bind(wx.EVT_RADIOBUTTON, self.OnLulzbotSelect)
-               self.LulzbotMiniRadio.SetValue(True)
-               self.LulzbotTazRadio = self.AddRadioButton("Lulzbot TAZ")
-               self.LulzbotTazRadio.Bind(wx.EVT_RADIOBUTTON, self.OnLulzbotSelect)
                self.Ultimaker2Radio = self.AddRadioButton("Ultimaker2")
                self.Ultimaker2Radio.Bind(wx.EVT_RADIOBUTTON, self.OnUltimaker2Select)
+               self.Ultimaker2ExtRadio = self.AddRadioButton("Ultimaker2extended")
+               self.Ultimaker2ExtRadio.Bind(wx.EVT_RADIOBUTTON, self.OnUltimaker2Select)
+               self.Ultimaker2GoRadio = self.AddRadioButton("Ultimaker2go")
+               self.Ultimaker2GoRadio.Bind(wx.EVT_RADIOBUTTON, self.OnUltimaker2Select)
                self.UltimakerRadio = self.AddRadioButton("Ultimaker Original")
                self.UltimakerRadio.Bind(wx.EVT_RADIOBUTTON, self.OnUltimakerSelect)
                self.UltimakerOPRadio = self.AddRadioButton("Ultimaker Original+")
@@ -400,12 +550,6 @@ class MachineSelectPage(InfoPage):
                self.PrintrbotRadio.Bind(wx.EVT_RADIOBUTTON, self.OnPrintrbotSelect)
                self.OtherRadio = self.AddRadioButton(_("Other (Ex: RepRap, MakerBot, Witbox)"))
                self.OtherRadio.Bind(wx.EVT_RADIOBUTTON, self.OnOtherSelect)
-               #self.AddSeperator()
-               #self.AddText(_("The collection of anonymous usage information helps with the continued improvement of Cura."))
-               #self.AddText(_("This does NOT submit your models online nor gathers any privacy related information."))
-               #self.SubmitUserStats = self.AddCheckbox(_("Submit anonymous usage information:"))
-               #self.AddText(_("For full details see: http://wiki.ultimaker.com/Cura:stats"))
-               #self.SubmitUserStats.SetValue(False)
 
        def OnUltimaker2Select(self, e):
                wx.wizard.WizardPageSimple.Chain(self, self.GetParent().ultimaker2ReadyPage)
@@ -419,26 +563,34 @@ class MachineSelectPage(InfoPage):
        def OnPrintrbotSelect(self, e):
                wx.wizard.WizardPageSimple.Chain(self, self.GetParent().printrbotSelectType)
 
-       def OnLulzbotSelect(self, e):
-               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotReadyPage)
-
        def OnOtherSelect(self, e):
                wx.wizard.WizardPageSimple.Chain(self, self.GetParent().otherMachineSelectPage)
 
-       def AllowNext(self):
-               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().ultimaker2ReadyPage)
-               return True
-
        def StoreData(self):
                profile.putProfileSetting('retraction_enable', 'True')
-               if self.Ultimaker2Radio.GetValue():
-                       profile.putMachineSetting('machine_width', '230')
-                       profile.putMachineSetting('machine_depth', '225')
-                       profile.putMachineSetting('machine_height', '205')
-                       profile.putMachineSetting('machine_name', 'ultimaker2')
-                       profile.putMachineSetting('machine_type', 'ultimaker2')
+               if self.Ultimaker2Radio.GetValue() or self.Ultimaker2GoRadio.GetValue() or self.Ultimaker2ExtRadio.GetValue():
+                       if self.Ultimaker2Radio.GetValue():
+                               profile.putMachineSetting('machine_width', '230')
+                               profile.putMachineSetting('machine_depth', '225')
+                               profile.putMachineSetting('machine_height', '205')
+                               profile.putMachineSetting('machine_name', 'ultimaker2')
+                               profile.putMachineSetting('machine_type', 'ultimaker2')
+                               profile.putMachineSetting('has_heated_bed', 'True')
+                       if self.Ultimaker2GoRadio.GetValue():
+                               profile.putMachineSetting('machine_width', '120')
+                               profile.putMachineSetting('machine_depth', '120')
+                               profile.putMachineSetting('machine_height', '115')
+                               profile.putMachineSetting('machine_name', 'ultimaker2go')
+                               profile.putMachineSetting('machine_type', 'ultimaker2go')
+                               profile.putMachineSetting('has_heated_bed', 'False')
+                       if self.Ultimaker2ExtRadio.GetValue():
+                               profile.putMachineSetting('machine_width', '230')
+                               profile.putMachineSetting('machine_depth', '225')
+                               profile.putMachineSetting('machine_height', '315')
+                               profile.putMachineSetting('machine_name', 'ultimaker2extended')
+                               profile.putMachineSetting('machine_type', 'ultimaker2extended')
+                               profile.putMachineSetting('has_heated_bed', 'False')
                        profile.putMachineSetting('machine_center_is_zero', 'False')
-                       profile.putMachineSetting('has_heated_bed', 'True')
                        profile.putMachineSetting('gcode_flavor', 'UltiGCode')
                        profile.putMachineSetting('extruder_head_size_min_x', '40.0')
                        profile.putMachineSetting('extruder_head_size_min_y', '10.0')
@@ -480,31 +632,6 @@ class MachineSelectPage(InfoPage):
                        profile.putMachineSetting('has_heated_bed', 'True')
                        profile.putMachineSetting('extruder_amount', '1')
                        profile.putProfileSetting('retraction_enable', 'True')
-               elif self.LulzbotTazRadio.GetValue() or self.LulzbotMiniRadio.GetValue():
-                       if self.LulzbotTazRadio.GetValue():
-                               profile.putMachineSetting('machine_width', '298')
-                               profile.putMachineSetting('machine_depth', '275')
-                               profile.putMachineSetting('machine_height', '250')
-                               profile.putProfileSetting('nozzle_size', '0.35')
-                               profile.putMachineSetting('machine_name', 'Lulzbot TAZ')
-                               profile.putMachineSetting('machine_type', 'lulzbot_TAZ')
-                               profile.putMachineSetting('serial_baud', '115200')
-                       else:
-                               profile.putMachineSetting('machine_width', '158')
-                               profile.putMachineSetting('machine_depth', '158')
-                               profile.putMachineSetting('machine_height', '155')
-                               profile.putProfileSetting('nozzle_size', '0.5')
-                               profile.putMachineSetting('machine_name', 'Lulzbot Mini')
-                               profile.putMachineSetting('machine_type', 'lulzbot_mini')
-                               profile.putMachineSetting('serial_baud', '115200')
-                       profile.putMachineSetting('machine_center_is_zero', 'False')
-                       profile.putMachineSetting('gcode_flavor', 'RepRap (Marlin/Sprinter)')
-                       profile.putMachineSetting('has_heated_bed', 'True')
-                       profile.putMachineSetting('extruder_head_size_min_x', '0.0')
-                       profile.putMachineSetting('extruder_head_size_min_y', '0.0')
-                       profile.putMachineSetting('extruder_head_size_max_x', '0.0')
-                       profile.putMachineSetting('extruder_head_size_max_y', '0.0')
-                       profile.putMachineSetting('extruder_head_size_height', '0.0')
                else:
                        profile.putMachineSetting('machine_width', '80')
                        profile.putMachineSetting('machine_depth', '80')
@@ -516,11 +643,6 @@ class MachineSelectPage(InfoPage):
                        profile.putProfileSetting('nozzle_size', '0.5')
                profile.checkAndUpdateMachineName()
                profile.putProfileSetting('wall_thickness', float(profile.getProfileSetting('nozzle_size')) * 2)
-               #if self.SubmitUserStats.GetValue():
-               #       profile.putPreference('submit_slice_information', 'True')
-               #else:
-               #       profile.putPreference('submit_slice_information', 'False')
-
 
 class SelectParts(InfoPage):
        def __init__(self, parent):
@@ -556,12 +678,12 @@ class SelectParts(InfoPage):
 class UltimakerFirmwareUpgradePage(InfoPage):
        def __init__(self, parent):
                super(UltimakerFirmwareUpgradePage, self).__init__(parent, _("Upgrade Ultimaker Firmware"))
-               self.AddText(_("Firmware is the piece of software running directly on your 3D printer.\nThis firmware controls the step motors, regulates the temperature\nand ultimately makes your printer work."))
+               self.AddText(_("Firmware is the piece of software running directly on your 3D printer.\nThis firmware controls the stepper motors, regulates the temperature\nand ultimately makes your printer work."))
                self.AddHiddenSeperator()
                self.AddText(_("The firmware shipping with new Ultimakers works, but upgrades\nhave been made to make better prints, and make calibration easier."))
                self.AddHiddenSeperator()
                self.AddText(_("Cura requires these new features and thus\nyour firmware will most likely need to be upgraded.\nYou will get the chance to do so now."))
-               upgradeButton, skipUpgradeButton = self.AddDualButton('Upgrade to Marlin firmware', 'Skip upgrade')
+               upgradeButton, skipUpgradeButton = self.AddDualButton(_('Upgrade to Marlin firmware'), _('Skip upgrade'))
                upgradeButton.Bind(wx.EVT_BUTTON, self.OnUpgradeClick)
                skipUpgradeButton.Bind(wx.EVT_BUTTON, self.OnSkipClick)
                self.AddHiddenSeperator()
@@ -589,7 +711,7 @@ class UltimakerFirmwareUpgradePage(InfoPage):
 
 class UltimakerCheckupPage(InfoPage):
        def __init__(self, parent):
-               super(UltimakerCheckupPage, self).__init__(parent, "Ultimaker Checkup")
+               super(UltimakerCheckupPage, self).__init__(parent, _("Ultimaker Checkup"))
 
                self.checkBitmap = wx.Bitmap(resources.getPathForImage('checkmark.png'))
                self.crossBitmap = wx.Bitmap(resources.getPathForImage('cross.png'))
@@ -832,7 +954,7 @@ class UltimakerCheckupPage(InfoPage):
 
 class UltimakerCalibrationPage(InfoPage):
        def __init__(self, parent):
-               super(UltimakerCalibrationPage, self).__init__(parent, "Ultimaker Calibration")
+               super(UltimakerCalibrationPage, self).__init__(parent, _("Ultimaker Calibration"))
 
                self.AddText("Your Ultimaker requires some calibration.")
                self.AddText("This calibration is needed for a proper extrusion amount.")
@@ -855,7 +977,7 @@ class UltimakerCalibrationPage(InfoPage):
 
 class UltimakerCalibrateStepsPerEPage(InfoPage):
        def __init__(self, parent):
-               super(UltimakerCalibrateStepsPerEPage, self).__init__(parent, "Ultimaker Calibration")
+               super(UltimakerCalibrateStepsPerEPage, self).__init__(parent, _("Ultimaker Calibration"))
 
                #if profile.getMachineSetting('steps_per_e') == '0':
                #       profile.putMachineSetting('steps_per_e', '865.888')
@@ -972,25 +1094,484 @@ class UltimakerCalibrateStepsPerEPage(InfoPage):
 
 class Ultimaker2ReadyPage(InfoPage):
        def __init__(self, parent):
-               super(Ultimaker2ReadyPage, self).__init__(parent, "Ultimaker2")
-               self.AddText('Congratulations on your the purchase of your brand new Ultimaker2.')
-               self.AddText('Cura is now ready to be used with your Ultimaker2.')
+               super(Ultimaker2ReadyPage, self).__init__(parent, _("Ultimaker2"))
+               self.AddText(_('Congratulations on your the purchase of your brand new Ultimaker2.'))
+               self.AddText(_('Cura is now ready to be used with your Ultimaker2.'))
                self.AddSeperator()
 
+class LulzbotMachineSelectPage(InfoPage):
+       IMAGE_WIDTH=300
+       IMAGE_HEIGHT=200
+
+       def __init__(self, parent):
+               super(LulzbotMachineSelectPage, self).__init__(parent, _("Select your machine"))
+
+               self.panel = self.AddPanel()
+
+               image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+               self.LulzbotMini = self.AddImageButton(self.panel, 0, 0, _("LulzBot Mini"),
+                                                                                          'Lulzbot_mini.jpg', image_size, style=ImageButton.IB_GROUP)
+               self.LulzbotMini.OnSelected(self.OnLulzbotMiniSelected)
+               
+               self.LulzbotTaz6 = self.AddImageButton(self.panel, 0, 1, _("LulzBot TAZ 6"),
+                                                                                          'Lulzbot_TAZ6.jpg', image_size)
+               self.LulzbotTaz6.OnSelected(self.OnLulzbotTaz6Selected)
+               
+               self.LulzbotTaz = self.AddImageButton(self.panel, 1, 0, _("LulzBot TAZ 4 or 5"),
+                                                                                          'Lulzbot_TAZ5.jpg', image_size)
+               self.LulzbotTaz.OnSelected(self.OnLulzbotTazSelected)
+               
+               self.OtherPrinters = self.AddImageButton(self.panel, 1, 1, _("Other Printers"),
+                                                                                                'Generic-3D-Printer.png', image_size)
+               self.OtherPrinters.OnSelected(self.OnOthersSelected)
+               self.LulzbotMini.SetValue(True)
+
+       def OnPageShown(self):
+               self.LulzbotMini.TriggerGroupCallbacks()
+
+       def OnOthersSelected(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().machineSelectPage)
+
+       def OnLulzbotMiniSelected(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotMiniToolheadPage)
+               wx.wizard.WizardPageSimple.Chain(self.GetParent().lulzbotMiniToolheadPage,
+                                                                                self.GetParent().lulzbotReadyPage)
+
+       def OnLulzbotTaz6Selected(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotTaz6SelectPage)
+
+       def OnLulzbotTazSelected(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotTazSelectPage)
+
+       def AllowNext(self):
+               return True
+
+       def AllowBack(self):
+               return False
+
+       def StoreData(self):
+               if self.LulzbotTaz.GetValue() or self.LulzbotMini.GetValue():
+                       if self.LulzbotTaz.GetValue():
+                               profile.putMachineSetting('machine_width', '290')
+                               profile.putMachineSetting('machine_depth', '275')
+                               profile.putMachineSetting('machine_height', '250')
+                               profile.putMachineSetting('serial_baud', '115200')
+                               profile.putMachineSetting('extruder_head_size_min_x', '0.0')
+                               profile.putMachineSetting('extruder_head_size_max_x', '0.0')
+                               profile.putMachineSetting('extruder_head_size_min_y', '0.0')
+                               profile.putMachineSetting('extruder_head_size_max_y', '0.0')
+                               profile.putMachineSetting('extruder_head_size_height', '0.0')
+                       else:
+                               # Nozzle diameter and machine type will be set in the toolhead selection page
+                               profile.putMachineSetting('machine_name', 'LulzBot Mini')
+                               profile.putMachineSetting('machine_width', '155')
+                               profile.putMachineSetting('machine_depth', '155')
+                               profile.putMachineSetting('machine_height', '163')
+                               profile.putMachineSetting('serial_baud', '115200')
+                               profile.putMachineSetting('extruder_head_size_min_x', '40')
+                               profile.putMachineSetting('extruder_head_size_max_x', '75')
+                               profile.putMachineSetting('extruder_head_size_min_y', '25')
+                               profile.putMachineSetting('extruder_head_size_max_y', '55')
+                               profile.putMachineSetting('extruder_head_size_height', '17')
+
+                       profile.putMachineSetting('machine_center_is_zero', 'False')
+                       profile.putMachineSetting('gcode_flavor', 'RepRap (Marlin/Sprinter)')
+                       profile.putMachineSetting('has_heated_bed', 'True')
+                       profile.putProfileSetting('retraction_enable', 'True')
+                       profile.putPreference('startMode', 'Simple')
+                       profile.putProfileSetting('wall_thickness', float(profile.getProfileSetting('nozzle_size')) * 2)
+                       profile.checkAndUpdateMachineName()
+
 class LulzbotReadyPage(InfoPage):
        def __init__(self, parent):
-               super(LulzbotReadyPage, self).__init__(parent, "Lulzbot TAZ/Mini")
-               self.AddText('Cura is now ready to be used with your Lulzbot.')
+               super(LulzbotReadyPage, self).__init__(parent, _("LulzBot TAZ/Mini"))
+               self.AddText(_('Cura is now ready to be used with your LulzBot 3D printer.'))
                self.AddSeperator()
+               self.AddText(_('For more information about using Cura with your LulzBot'))
+               self.AddText(_('3D printer, please visit www.LulzBot.com/cura'))
+               self.AddSeperator()
+
+class LulzbotMiniToolheadSelectPage(InfoPage):
+       def __init__(self, parent, allowBack = True):
+               super(LulzbotMiniToolheadSelectPage, self).__init__(parent, _("LulzBot Mini Tool Head Selection"))
+
+               self.allowBack = allowBack
+               self.panel = self.AddPanel()
+               image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+               self.standard = self.AddImageButton(self.panel, 0, 0, _('Standard LulzBot Mini'),
+                                                                                       'Lulzbot_mini.jpg', image_size,
+                                                                                       style=ImageButton.IB_GROUP)
+               self.flexy = self.AddImageButton(self.panel, 0, 1, _('LulzBot Mini with Flexystruder'),
+                                                                                       'Lulzbot_Toolhead_Mini_Flexystruder.jpg', image_size)
+               self.standard.SetValue(True)
+
+       def AllowBack(self):
+               return self.allowBack
+
+       def StoreData(self):
+               if self.standard.GetValue():
+                       profile.putProfileSetting('nozzle_size', '0.5')
+                       profile.putMachineSetting('extruder_amount', '1')
+                       profile.putMachineSetting('toolhead', 'Single Extruder v2')
+                       profile.putMachineSetting('toolhead_shortname', '')
+                       profile.putMachineSetting('machine_type', 'lulzbot_mini')
+               else:
+                       profile.putProfileSetting('nozzle_size', '0.6')
+                       profile.putMachineSetting('extruder_amount', '1')
+                       profile.putMachineSetting('toolhead', 'Flexystruder v2')
+                       profile.putMachineSetting('toolhead_shortname', 'Flexystruder')
+                       profile.putMachineSetting('machine_type', 'lulzbot_mini_flexystruder')
+
+class LulzbotTaz6SelectPage(InfoPage):
+       def __init__(self, parent):
+               super(LulzbotTaz6SelectPage, self).__init__(parent, _("LulzBot TAZ 6 Selection"))
+
+               self.panel = self.AddPanel()
+               image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+               self.taz6 = self.AddImageButton(self.panel, 0, 0, _('Tilapia'),
+                                                                               'Lulzbot_Toolhead_TAZ_Tilapia.jpg', image_size,
+                                                                               style=ImageButton.IB_GROUP)
+               self.taz6.OnSelected(self.OnTilapiaSelected)
+               self.taz6.SetValue(True)
+
+       def OnPageShown(self):
+               self.taz6.TriggerGroupCallbacks()
 
-class configWizard(wx.wizard.Wizard):
+       def OnTilapiaSelected(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotReadyPage)
+
+       def StoreData(self):
+               profile.putProfileSetting('nozzle_size',  '0.5')
+               profile.putMachineSetting('extruder_amount', '1')
+               profile.putMachineSetting('toolhead', 'Single Extruder Tilapia')
+               profile.putMachineSetting('toolhead_shortname', 'Tilapia')
+               profile.putMachineSetting('machine_type', 'lulzbot_TAZ_6_Single_Tilapia')
+               profile.putMachineSetting('machine_name', 'LulzBot TAZ 6')
+
+class LulzbotTazSelectPage(InfoPage):
+       def __init__(self, parent):
+               super(LulzbotTazSelectPage, self).__init__(parent, _("LulzBot TAZ 4-5 Selection"))
+
+               self.panel = self.AddPanel()
+               image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+               self.taz5 = self.AddImageButton(self.panel, 0, 0, _('Stock TAZ 5 (PEI && v2)'),
+                                                                               'Lulzbot_TAZ_5_Hex_and_PEI.jpg', image_size,
+                                                                               style=ImageButton.IB_GROUP)
+               self.taz5.OnSelected(self.OnTaz5Selected)
+               self.taz4 = self.AddImageButton(self.panel, 0, 1, _('Stock TAZ 4 (PET && v1)'),
+                                                                               'Lulzbot_TAZ_4_Buda_and_PET.jpg', image_size)
+               self.taz4.OnSelected(self.OnTaz4Selected)
+               self.modified = self.AddImageButton(self.panel, 1, 0, _('Modified LulzBot TAZ 4 or 5'),
+                                                                                       'Lulzbot_TAZ5.jpg', image_size)
+               self.modified.OnSelected(self.OnModifiedSelected)
+               self.taz5.SetValue(True)
+
+       def OnPageShown(self):
+               self.taz5.TriggerGroupCallbacks()
+
+       def OnTaz5Selected(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotTaz5NozzleSelectPage)
+               wx.wizard.WizardPageSimple.Chain(self.GetParent().lulzbotTaz5NozzleSelectPage,
+                                                                                self.GetParent().lulzbotReadyPage)
+
+       def OnTaz4Selected(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotReadyPage)
+
+       def OnModifiedSelected(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotTazBedSelectPage)
+               wx.wizard.WizardPageSimple.Chain(self.GetParent().lulzbotTazBedSelectPage,
+                                                                                self.GetParent().lulzbotTazHotendPage)
+
+       def StoreData(self):
+               if self.taz5.GetValue():
+                       profile.putProfileSetting('nozzle_size',  '0.5')
+                       profile.putMachineSetting('extruder_amount', '1')
+                       profile.putMachineSetting('toolhead', 'Single Extruder V2')
+                       profile.putMachineSetting('toolhead_shortname', '')
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_5_SingleV2')
+                       profile.putMachineSetting('machine_name', 'LulzBot TAZ 5')
+               elif self.taz4.GetValue():
+                       profile.putProfileSetting('nozzle_size', '0.35')
+                       profile.putMachineSetting('extruder_amount', '1')
+                       profile.putMachineSetting('toolhead', 'Single Extruder V1')
+                       profile.putMachineSetting('toolhead_shortname', '')
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_4_SingleV1')
+                       profile.putMachineSetting('machine_name', 'LulzBot TAZ 4')
+
+class LulzbotTazBedSelectPage(InfoPage):
+       def __init__(self, parent):
+               super(LulzbotTazBedSelectPage, self).__init__(parent, _("Bed Surface"))
+
+               self.panel = self.AddPanel()
+               image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+               self.pei = self.AddImageButton(self.panel, 0, 0, _('PEI'),
+                                                                          'Lulzbot_TAZ_PEI_Bed.jpg', image_size,
+                                                                          style=ImageButton.IB_GROUP)
+               self.pet = self.AddImageButton(self.panel, 0, 1, _('PET'),
+                                                                          'Lulzbot_TAZ_PET_Bed.jpg', image_size)
+               self.pei.SetValue(True)
+
+       def StoreData(self):
+               if self.pei.GetValue():
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_5')
+                       profile.putMachineSetting('machine_name', 'LulzBot TAZ 5')
+               else:
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_4')
+                       profile.putMachineSetting('machine_name', 'LulzBot TAZ 4')
+
+
+class LulzbotTazToolheadSelectPage(InfoPage):
+       def __init__(self, parent):
+               super(LulzbotTazToolheadSelectPage, self).__init__(parent, _("LulzBot TAZ Tool Head Selection"))
+
+               self.panel = self.AddPanel()
+               image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+               self.single = self.AddImageButton(self.panel, 0, 0, _('Single Extruder v1'),
+                                                                                       'Lulzbot_Toolhead_TAZ_Single_v1.jpg', image_size,
+                                                                                       style=ImageButton.IB_GROUP)
+               self.flexy = self.AddImageButton(self.panel, 0, 1, _('Flexystruder v1'),
+                                                                                       'Lulzbot_Toolhead_TAZ_Flexystruder_v1.jpg', image_size)
+               self.dually = self.AddImageButton(self.panel, 1, 0, _('Dual Extruder v1'),
+                                                                                       'Lulzbot_Toolhead_TAZ_Dual_Extruder_v1.jpg', image_size)
+               self.flexydually = self.AddImageButton(self.panel, 1, 1, _('FlexyDually v1'),
+                                                                                       'Lulzbot_Toolhead_TAZ_FlexyDually_v1.jpg', image_size)
+               self.SetVersion(1)
+               self.single.SetValue(True)
+
+       def SetVersion(self, version):
+               image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+               self.single.SetBitmap(self.GetBitmap('Lulzbot_Toolhead_TAZ_Single_v%d.jpg' % version, image_size))
+               self.single.SetLabel(_('Single Extruder v%d' % version))
+               self.flexy.SetBitmap(self.GetBitmap('Lulzbot_Toolhead_TAZ_Flexystruder_v%d.jpg' % version, image_size))
+               self.flexy.SetLabel(_('Flexystruder v%d' % version))
+               self.dually.SetBitmap(self.GetBitmap('Lulzbot_Toolhead_TAZ_Dual_Extruder_v%d.jpg' % version, image_size))
+               self.dually.SetLabel(_('Dual Extruder v%d' % version))
+               self.flexydually.SetBitmap(self.GetBitmap('Lulzbot_Toolhead_TAZ_FlexyDually_v%d.jpg' % version, image_size))
+               self.flexydually.SetLabel(_('FlexyDually v%d' % version))
+               self.version = version
+               if version == 1:
+                       self.single.OnSelected(None)
+                       self.flexy.OnSelected(None)
+                       self.dually.OnSelected(None)
+                       self.flexydually.OnSelected(None)
+                       wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotFirmwarePage)
+               elif version == 2:
+                       self.single.OnSelected(self.OnSingleV2)
+                       self.flexy.OnSelected(self.OnNonSingle)
+                       self.dually.OnSelected(self.OnNonSingle)
+                       self.flexydually.OnSelected(self.OnNonSingle)
+                       if self.single.GetValue():
+                               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotTaz5NozzleSelectPage)
+                               wx.wizard.WizardPageSimple.Chain(self.GetParent().lulzbotTaz5NozzleSelectPage, self.GetParent().lulzbotFirmwarePage)
+                       else:
+                               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotFirmwarePage)
+               wx.wizard.WizardPageSimple.Chain(self.GetParent().lulzbotFirmwarePage, self.GetParent().lulzbotReadyPage)
+
+       def OnSingleV2(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotTaz5NozzleSelectPage)
+               wx.wizard.WizardPageSimple.Chain(self.GetParent().lulzbotTaz5NozzleSelectPage, self.GetParent().lulzbotFirmwarePage)
+
+       def OnNonSingle(self):
+               wx.wizard.WizardPageSimple.Chain(self, self.GetParent().lulzbotFirmwarePage)
+
+       def StoreData(self):
+               if profile.getMachineSetting('machine_type').startswith('lulzbot_TAZ_4'):
+                       taz_version = 4
+               else:
+                       taz_version = 5
+               version = (taz_version, self.version)
+               if self.single.GetValue():
+                       profile.putProfileSetting('nozzle_size', '0.5' if self.version == 2 else '0.35')
+                       profile.putMachineSetting('extruder_amount', '1')
+                       profile.putMachineSetting('toolhead', 'Single Extruder V%d' % self.version)
+                       profile.putMachineSetting('toolhead_shortname', '')
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_%d_SingleV%d' % version)
+               elif self.flexy.GetValue():
+                       profile.putProfileSetting('nozzle_size', '0.6')
+                       profile.putMachineSetting('extruder_amount', '1')
+                       profile.putMachineSetting('toolhead', 'Flexystruder V%d' % self.version)
+                       profile.putMachineSetting('toolhead_shortname', 'Flexystruder v%d' % self.version)
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_%d_FlexystruderV%d' % version)
+               elif self.dually.GetValue():
+                       profile.putProfileSetting('nozzle_size', '0.5')
+                       profile.putMachineSetting('extruder_amount', '2')
+                       profile.putMachineSetting('extruder_offset_x1', '0.0')
+                       profile.putMachineSetting('extruder_offset_y1', '-50.0' if self.version == 2 else '-52.00')
+                       profile.putMachineSetting('toolhead', 'Dual Extruder V%d' % self.version)
+                       profile.putMachineSetting('toolhead_shortname', 'Dual v%d' % self.version)
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_%d_DualV%d' % version)
+               elif self.flexydually.GetValue():
+                       profile.putProfileSetting('nozzle_size', '0.6')
+                       profile.putMachineSetting('extruder_amount', '2')
+                       profile.putMachineSetting('extruder_offset_x1', '0.0')
+                       profile.putMachineSetting('extruder_offset_y1', '-50.0' if self.version == 2 else '-52.00')
+                       profile.putMachineSetting('toolhead', 'FlexyDually V%d' % self.version)
+                       profile.putMachineSetting('toolhead_shortname', 'FlexyDually v%d' % self.version)
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_%d_FlexyDuallyV%d' % version)
+
+
+class LulzbotHotendSelectPage(InfoPage):
+       def __init__(self, parent, allowBack = True):
+               super(LulzbotHotendSelectPage, self).__init__(parent, _("LulzBot Tool Head Hot end Selection"))
+
+               self.allowBack = allowBack
+               self.panel = self.AddPanel()
+               image_size=(LulzbotMachineSelectPage.IMAGE_WIDTH, LulzbotMachineSelectPage.IMAGE_HEIGHT)
+               self.v1 = self.AddImageButton(self.panel, 0, 0, _('v1 (Budaschnozzle)'),
+                                                                                       'Lulzbot_Toolhead_v1.jpg', image_size,
+                                                                                       style=ImageButton.IB_GROUP)
+               self.v2 = self.AddImageButton(self.panel, 0, 1, _('v2 (LulzBot Hexagon)'),
+                                                                                       'Lulzbot_Toolhead_v2.jpg', image_size)
+               self.v1.SetValue(True)
+
+       def AllowBack(self):
+               return self.allowBack
+
+       def StoreData(self):
+               self.GetParent().lulzbotTazToolheadPage.SetVersion(1 if self.v1.GetValue() else 2)
+
+class LulzbotTaz5NozzleSelectPage(InfoPage):
+       url2='http://lulzbot.com/printer-identification'
+
+       def __init__(self, parent):
+               super(LulzbotTaz5NozzleSelectPage, self).__init__(parent, _("LulzBot TAZ Single v2 Nozzle Selection"))
+
+               self.AddText(_('Please select your LulzBot Hexagon Hot End\'s nozzle diameter:'))
+               self.Nozzle35Radio = self.AddRadioButton("0.35 mm", style=wx.RB_GROUP)
+               self.Nozzle35Radio.SetValue(True)
+               self.Nozzle50Radio = self.AddRadioButton("0.5 mm")
+               self.AddText(_(' '))
+               self.AddSeperator()
+
+               self.AddText(_('If you are not sure which nozzle diameter you have,'))
+               self.AddText(_('please check this webpage: '))
+               button = self.AddButton(LulzbotTaz5NozzleSelectPage.url2)
+               button.Bind(wx.EVT_BUTTON, self.OnUrlClick)
+
+       def OnUrlClick(self, e):
+               webbrowser.open(LulzbotTaz5NozzleSelectPage.url2)
+
+       def StoreData(self):
+               if profile.getMachineSetting('machine_type').startswith('lulzbot_TAZ_4'):
+                       taz_version = 4
+               else:
+                       taz_version = 5
+               if self.Nozzle35Radio.GetValue():
+                       profile.putProfileSetting('nozzle_size', '0.35')
+                       profile.putMachineSetting('toolhead', 'Single Extruder v2 (0.35mm nozzle)')
+                       profile.putMachineSetting('toolhead_shortname', '0.35 nozzle')
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_%d_035nozzle' % taz_version)
+
+               else:
+                       profile.putProfileSetting('nozzle_size', '0.5')
+                       profile.putMachineSetting('toolhead', 'Single Extruder v2 (0.5mm nozzle)')
+                       profile.putMachineSetting('toolhead_shortname', '0.5 nozzle')
+                       profile.putMachineSetting('machine_type', 'lulzbot_TAZ_%d_05nozzle' % taz_version)
+
+class LulzbotFirmwareUpdatePage(InfoPage):
+       def __init__(self, parent):
+               super(LulzbotFirmwareUpdatePage, self).__init__(parent, _("LulzBot Firmware Update"))
+
+               self.AddText(_("Your LulzBot printer\'s firmware will now be updated.\n" +
+               "Note: this will overwrite your existing firmware."))
+               self.AddSeperator()
+               self.AddText(_("Follow these steps to prevent writing firmware to the wrong device:\n" +
+                                          "    1) Unplug all USB devices from your computer\n" +
+                                          "    2) Plug your 3D Printer into the computer with a USB cable\n" +
+                                          "    3) Turn on your 3D Printer\n" +
+                                          "    4) Click \"Flash the firmware\""))
+               self.AddHiddenSeperator()
+               upgradeButton, skipUpgradeButton = self.AddDualButton(_('Flash the firmware'), _('Skip upgrade'))
+               upgradeButton.Bind(wx.EVT_BUTTON, self.OnUpgradeClick)
+               skipUpgradeButton.Bind(wx.EVT_BUTTON, self.OnSkipClick)
+
+       def AllowNext(self):
+               return version.isDevVersion()
+
+       def OnUpgradeClick(self, e):
+               if firmwareInstall.InstallFirmware():
+                       self.GetParent().FindWindowById(wx.ID_FORWARD).Enable()
+                       self.GetParent().ShowPage(self.GetNext())
+
+       def OnSkipClick(self, e):
+               dlg = wx.MessageDialog(self,
+                       _("CAUTION: Updating firmware is necessary when changing the\n" \
+                         "tool head on your LulzBot desktop 3D Printer." \
+                         "\n\n" +
+                         "Are you sure you want to skip the firmware update?"),
+                       _('Skip firmware update?'),
+                       wx.YES_NO | wx.ICON_EXCLAMATION)
+               skip = dlg.ShowModal() == wx.ID_YES
+               dlg.Destroy()
+               if skip:
+                       self.GetParent().FindWindowById(wx.ID_FORWARD).Enable()
+                       self.GetParent().ShowPage(self.GetNext())
+
+class LulzbotChangeToolheadWizard(wx.wizard.Wizard):
+       def __init__(self):
+               super(LulzbotChangeToolheadWizard, self).__init__(None, -1, _("Change LulzBot Tool Head Wizard"))
+
+               self._nozzle_size = profile.getProfileSettingFloat('nozzle_size')
+               self._machine_name = profile.getMachineSetting('machine_name')
+               self._machine_type = profile.getMachineSetting('machine_type')
+               self._extruder_amount = int(profile.getMachineSettingFloat('extruder_amount'))
+
+               self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGED, self.OnPageChanged)
+               self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGING, self.OnPageChanging)
+               self.Bind(wx.wizard.EVT_WIZARD_CANCEL, self.OnCancel)
+
+               self.lulzbotReadyPage = LulzbotReadyPage(self)
+               self.lulzbotFirmwarePage = LulzbotFirmwareUpdatePage(self)
+               self.lulzbotMiniToolheadPage = LulzbotMiniToolheadSelectPage(self, False)
+               self.lulzbotTazToolheadPage = LulzbotTazToolheadSelectPage(self)
+               self.lulzbotTazHotendPage = LulzbotHotendSelectPage(self, False)
+               self.lulzbotTaz5NozzleSelectPage = LulzbotTaz5NozzleSelectPage(self)
+               self.lulzbotTazBedSelectPage = LulzbotTazBedSelectPage(self)
+               self.lulzbotTazSelectPage = LulzbotTazSelectPage(self)
+               self.lulzbotTaz6SelectPage = LulzbotTaz6SelectPage(self)
+
+               wx.wizard.WizardPageSimple.Chain(self.lulzbotMiniToolheadPage, self.lulzbotReadyPage)
+               wx.wizard.WizardPageSimple.Chain(self.lulzbotTazHotendPage, self.lulzbotTazToolheadPage)
+
+               if profile.getMachineSetting('machine_type').startswith('lulzbot_mini'):
+                       self.RunWizard(self.lulzbotMiniToolheadPage)
+               else:
+                       self.RunWizard(self.lulzbotTazHotendPage)
+               self.Destroy()
+
+       def OnPageChanging(self, e):
+               e.GetPage().StoreData()
+
+       def OnPageChanged(self, e):
+               if e.GetPage().AllowNext():
+                       self.FindWindowById(wx.ID_FORWARD).Enable()
+               else:
+                       self.FindWindowById(wx.ID_FORWARD).Disable()
+               if e.GetPage().AllowBack():
+                       self.FindWindowById(wx.ID_BACKWARD).Enable()
+               else:
+                       self.FindWindowById(wx.ID_BACKWARD).Disable()
+               if hasattr(e.GetPage(), 'OnPageShown'):
+                       e.GetPage().OnPageShown()
+
+       def OnCancel(self, e):
+               profile.putProfileSetting('nozzle_size', self._nozzle_size)
+               profile.putMachineSetting('machine_name', self._machine_name)
+               profile.putMachineSetting('machine_type', self._machine_type)
+               profile.putMachineSetting('extruder_amount', self._extruder_amount)
+
+class ConfigWizard(wx.wizard.Wizard):
        def __init__(self, addNew = False):
-               super(configWizard, self).__init__(None, -1, "Configuration Wizard")
+               super(ConfigWizard, self).__init__(None, -1, _("Configuration Wizard"))
+
+               self._old_machine_index = int(profile.getPreferenceFloat('active_machine'))
+               if addNew:
+                       profile.setActiveMachine(profile.getMachineCount())
 
                self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGED, self.OnPageChanged)
                self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGING, self.OnPageChanging)
+               self.Bind(wx.wizard.EVT_WIZARD_CANCEL, self.OnCancel)
 
-               self.firstInfoPage = FirstInfoPage(self, addNew)
                self.machineSelectPage = MachineSelectPage(self)
                self.ultimakerSelectParts = SelectParts(self)
                self.ultimakerFirmwareUpgradePage = UltimakerFirmwareUpgradePage(self)
@@ -1006,21 +1587,26 @@ class configWizard(wx.wizard.Wizard):
 
                self.ultimaker2ReadyPage = Ultimaker2ReadyPage(self)
                self.lulzbotReadyPage = LulzbotReadyPage(self)
-
-               wx.wizard.WizardPageSimple.Chain(self.firstInfoPage, self.machineSelectPage)
-               #wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimaker2ReadyPage)
+               self.lulzbotFirmwarePage = LulzbotFirmwareUpdatePage(self)
+               self.lulzbotMiniToolheadPage = LulzbotMiniToolheadSelectPage(self)
+               self.lulzbotTazToolheadPage = LulzbotTazToolheadSelectPage(self)
+               self.lulzbotTazHotendPage = LulzbotHotendSelectPage(self)
+               self.lulzbotTaz5NozzleSelectPage = LulzbotTaz5NozzleSelectPage(self)
+               self.lulzbotMachineSelectPage = LulzbotMachineSelectPage(self)
+               self.lulzbotTazBedSelectPage = LulzbotTazBedSelectPage(self)
+               self.lulzbotTazSelectPage = LulzbotTazSelectPage(self)
+
+               wx.wizard.WizardPageSimple.Chain(self.lulzbotMachineSelectPage, self.lulzbotMiniToolheadPage)
+               wx.wizard.WizardPageSimple.Chain(self.lulzbotMiniToolheadPage, self.lulzbotReadyPage)
+               wx.wizard.WizardPageSimple.Chain(self.lulzbotTazHotendPage, self.lulzbotTazToolheadPage)
                wx.wizard.WizardPageSimple.Chain(self.machineSelectPage, self.ultimakerSelectParts)
                wx.wizard.WizardPageSimple.Chain(self.ultimakerSelectParts, self.ultimakerFirmwareUpgradePage)
                wx.wizard.WizardPageSimple.Chain(self.ultimakerFirmwareUpgradePage, self.ultimakerCheckupPage)
                wx.wizard.WizardPageSimple.Chain(self.ultimakerCheckupPage, self.bedLevelPage)
-               #wx.wizard.WizardPageSimple.Chain(self.ultimakerCalibrationPage, self.ultimakerCalibrateStepsPerEPage)
                wx.wizard.WizardPageSimple.Chain(self.printrbotSelectType, self.otherMachineInfoPage)
                wx.wizard.WizardPageSimple.Chain(self.otherMachineSelectPage, self.customRepRapInfoPage)
 
-               self.FitToPage(self.firstInfoPage)
-               self.GetPageAreaSizer().Add(self.firstInfoPage)
-
-               self.RunWizard(self.firstInfoPage)
+               self.RunWizard(self.lulzbotMachineSelectPage)
                self.Destroy()
 
        def OnPageChanging(self, e):
@@ -1035,26 +1621,33 @@ class configWizard(wx.wizard.Wizard):
                        self.FindWindowById(wx.ID_BACKWARD).Enable()
                else:
                        self.FindWindowById(wx.ID_BACKWARD).Disable()
+               if hasattr(e.GetPage(), 'OnPageShown'):
+                       e.GetPage().OnPageShown()
+
+       def OnCancel(self, e):
+               new_machine_index = int(profile.getPreferenceFloat('active_machine'))
+               profile.setActiveMachine(self._old_machine_index)
+               profile.removeMachine(new_machine_index)
 
 class bedLevelWizardMain(InfoPage):
        def __init__(self, parent):
-               super(bedLevelWizardMain, self).__init__(parent, "Bed leveling wizard")
+               super(bedLevelWizardMain, self).__init__(parent, _("Bed leveling wizard"))
 
-               self.AddText('This wizard will help you in leveling your printer bed')
+               self.AddText(_('This wizard will help you in leveling your printer bed'))
                self.AddSeperator()
-               self.AddText('It will do the following steps')
-               self.AddText('* Move the printer head to each corner')
-               self.AddText('  and let you adjust the height of the bed to the nozzle')
-               self.AddText('* Print a line around the bed to check if it is level')
+               self.AddText(_('It will do the following steps'))
+               self.AddText(_('* Move the printer head to each corner'))
+               self.AddText(_('  and let you adjust the height of the bed to the nozzle'))
+               self.AddText(_('* Print a line around the bed to check if it is level'))
                self.AddSeperator()
 
-               self.connectButton = self.AddButton('Connect to printer')
+               self.connectButton = self.AddButton(_('Connect to printer'))
                self.comm = None
 
                self.infoBox = self.AddInfoBox()
-               self.resumeButton = self.AddButton('Resume')
-               self.upButton, self.downButton = self.AddDualButton('Up 0.2mm', 'Down 0.2mm')
-               self.upButton2, self.downButton2 = self.AddDualButton('Up 10mm', 'Down 10mm')
+               self.resumeButton = self.AddButton(_('Resume'))
+               self.upButton, self.downButton = self.AddDualButton(_('Up 0.2mm'), _('Down 0.2mm'))
+               self.upButton2, self.downButton2 = self.AddDualButton(_('Up 10mm'), _('Down 10mm'))
                self.resumeButton.Enable(False)
 
                self.upButton.Enable(False)
@@ -1078,7 +1671,7 @@ class bedLevelWizardMain(InfoPage):
                        return
                self.connectButton.Enable(False)
                self.comm = machineCom.MachineCom(callbackObject=self)
-               self.infoBox.SetBusy('Connecting to machine.')
+               self.infoBox.SetBusy(_('Connecting to machine.'))
                self._wizardState = 0
 
        def OnBedUp(self, e):
@@ -1114,7 +1707,7 @@ class bedLevelWizardMain(InfoPage):
                feedZ = profile.getProfileSettingFloat('print_speed') * 60
                feedTravel = profile.getProfileSettingFloat('travel_speed') * 60
                if self._wizardState == -1:
-                       wx.CallAfter(self.infoBox.SetInfo, 'Homing printer...')
+                       wx.CallAfter(self.infoBox.SetInfo, _('Homing printer...'))
                        wx.CallAfter(self.upButton.Enable, False)
                        wx.CallAfter(self.downButton.Enable, False)
                        wx.CallAfter(self.upButton2.Enable, False)
@@ -1124,14 +1717,14 @@ class bedLevelWizardMain(InfoPage):
                        self._wizardState = 1
                elif self._wizardState == 2:
                        if profile.getMachineSetting('has_heated_bed') == 'True':
-                               wx.CallAfter(self.infoBox.SetBusy, 'Moving head to back center...')
+                               wx.CallAfter(self.infoBox.SetBusy, _('Moving head to back center...'))
                                self.comm.sendCommand('G1 Z3 F%d' % (feedZ))
                                self.comm.sendCommand('G1 X%d Y%d F%d' % (profile.getMachineSettingFloat('machine_width') / 2.0, profile.getMachineSettingFloat('machine_depth'), feedTravel))
                                self.comm.sendCommand('G1 Z0 F%d' % (feedZ))
                                self.comm.sendCommand('M400')
                                self._wizardState = 3
                        else:
-                               wx.CallAfter(self.infoBox.SetBusy, 'Moving head to back left corner...')
+                               wx.CallAfter(self.infoBox.SetBusy, _('Moving head to back left corner...'))
                                self.comm.sendCommand('G1 Z3 F%d' % (feedZ))
                                self.comm.sendCommand('G1 X%d Y%d F%d' % (0, profile.getMachineSettingFloat('machine_depth'), feedTravel))
                                self.comm.sendCommand('G1 Z0 F%d' % (feedZ))
@@ -1139,35 +1732,35 @@ class bedLevelWizardMain(InfoPage):
                                self._wizardState = 3
                elif self._wizardState == 4:
                        if profile.getMachineSetting('has_heated_bed') == 'True':
-                               wx.CallAfter(self.infoBox.SetBusy, 'Moving head to front right corner...')
+                               wx.CallAfter(self.infoBox.SetBusy, _('Moving head to front right corner...'))
                                self.comm.sendCommand('G1 Z3 F%d' % (feedZ))
                                self.comm.sendCommand('G1 X%d Y%d F%d' % (profile.getMachineSettingFloat('machine_width') - 5.0, 5, feedTravel))
                                self.comm.sendCommand('G1 Z0 F%d' % (feedZ))
                                self.comm.sendCommand('M400')
                                self._wizardState = 7
                        else:
-                               wx.CallAfter(self.infoBox.SetBusy, 'Moving head to back right corner...')
+                               wx.CallAfter(self.infoBox.SetBusy, _('Moving head to back right corner...'))
                                self.comm.sendCommand('G1 Z3 F%d' % (feedZ))
                                self.comm.sendCommand('G1 X%d Y%d F%d' % (profile.getMachineSettingFloat('machine_width') - 5.0, profile.getMachineSettingFloat('machine_depth') - 25, feedTravel))
                                self.comm.sendCommand('G1 Z0 F%d' % (feedZ))
                                self.comm.sendCommand('M400')
                                self._wizardState = 5
                elif self._wizardState == 6:
-                       wx.CallAfter(self.infoBox.SetBusy, 'Moving head to front right corner...')
+                       wx.CallAfter(self.infoBox.SetBusy, _('Moving head to front right corner...'))
                        self.comm.sendCommand('G1 Z3 F%d' % (feedZ))
                        self.comm.sendCommand('G1 X%d Y%d F%d' % (profile.getMachineSettingFloat('machine_width') - 5.0, 20, feedTravel))
                        self.comm.sendCommand('G1 Z0 F%d' % (feedZ))
                        self.comm.sendCommand('M400')
                        self._wizardState = 7
                elif self._wizardState == 8:
-                       wx.CallAfter(self.infoBox.SetBusy, 'Heating up printer...')
+                       wx.CallAfter(self.infoBox.SetBusy, _('Heating up printer...'))
                        self.comm.sendCommand('G1 Z15 F%d' % (feedZ))
                        self.comm.sendCommand('M104 S%d' % (profile.getProfileSettingFloat('print_temperature')))
                        self.comm.sendCommand('G1 X%d Y%d F%d' % (0, 0, feedTravel))
                        self._wizardState = 9
                elif self._wizardState == 10:
                        self._wizardState = 11
-                       wx.CallAfter(self.infoBox.SetInfo, 'Printing a square on the printer bed at 0.3mm height.')
+                       wx.CallAfter(self.infoBox.SetInfo, _('Printing a square on the printer bed at 0.3mm height.'))
                        feedZ = profile.getProfileSettingFloat('print_speed') * 60
                        feedPrint = profile.getProfileSettingFloat('print_speed') * 60
                        feedTravel = profile.getProfileSettingFloat('travel_speed') * 60
@@ -1207,28 +1800,28 @@ class bedLevelWizardMain(InfoPage):
        def mcTempUpdate(self, temp, bedTemp, targetTemp, bedTargetTemp):
                if self._wizardState == 1:
                        self._wizardState = 2
-                       wx.CallAfter(self.infoBox.SetAttention, 'Adjust the front left screw of your printer bed\nSo the nozzle just hits the bed.')
+                       wx.CallAfter(self.infoBox.SetAttention, _('Adjust the front left screw of your printer bed\nSo the nozzle just hits the bed.'))
                        wx.CallAfter(self.resumeButton.Enable, True)
                elif self._wizardState == 3:
                        self._wizardState = 4
                        if profile.getMachineSetting('has_heated_bed') == 'True':
-                               wx.CallAfter(self.infoBox.SetAttention, 'Adjust the back screw of your printer bed\nSo the nozzle just hits the bed.')
+                               wx.CallAfter(self.infoBox.SetAttention, _('Adjust the back screw of your printer bed\nSo the nozzle just hits the bed.'))
                        else:
-                               wx.CallAfter(self.infoBox.SetAttention, 'Adjust the back left screw of your printer bed\nSo the nozzle just hits the bed.')
+                               wx.CallAfter(self.infoBox.SetAttention, _('Adjust the back left screw of your printer bed\nSo the nozzle just hits the bed.'))
                        wx.CallAfter(self.resumeButton.Enable, True)
                elif self._wizardState == 5:
                        self._wizardState = 6
-                       wx.CallAfter(self.infoBox.SetAttention, 'Adjust the back right screw of your printer bed\nSo the nozzle just hits the bed.')
+                       wx.CallAfter(self.infoBox.SetAttention, _('Adjust the back right screw of your printer bed\nSo the nozzle just hits the bed.'))
                        wx.CallAfter(self.resumeButton.Enable, True)
                elif self._wizardState == 7:
                        self._wizardState = 8
-                       wx.CallAfter(self.infoBox.SetAttention, 'Adjust the front right screw of your printer bed\nSo the nozzle just hits the bed.')
+                       wx.CallAfter(self.infoBox.SetAttention, _('Adjust the front right screw of your printer bed\nSo the nozzle just hits the bed.'))
                        wx.CallAfter(self.resumeButton.Enable, True)
                elif self._wizardState == 9:
                        if temp[0] < profile.getProfileSettingFloat('print_temperature') - 5:
-                               wx.CallAfter(self.infoBox.SetInfo, 'Heating up printer: %d/%d' % (temp[0], profile.getProfileSettingFloat('print_temperature')))
+                               wx.CallAfter(self.infoBox.SetInfo, _('Heating up printer: %d/%d') % (temp[0], profile.getProfileSettingFloat('print_temperature')))
                        else:
-                               wx.CallAfter(self.infoBox.SetAttention, 'The printer is hot now. Please insert some PLA filament into the printer.')
+                               wx.CallAfter(self.infoBox.SetAttention, _('The printer is hot now. Please insert some PLA filament into the printer.'))
                                wx.CallAfter(self.resumeButton.Enable, True)
                                self._wizardState = 10
 
@@ -1237,7 +1830,7 @@ class bedLevelWizardMain(InfoPage):
                        return
                if self.comm.isOperational():
                        if self._wizardState == 0:
-                               wx.CallAfter(self.infoBox.SetAttention, 'Use the up/down buttons to move the bed and adjust your Z endstop.')
+                               wx.CallAfter(self.infoBox.SetAttention, _('Use the up/down buttons to move the bed and adjust your Z endstop.'))
                                wx.CallAfter(self.upButton.Enable, True)
                                wx.CallAfter(self.downButton.Enable, True)
                                wx.CallAfter(self.upButton2.Enable, True)
@@ -1249,13 +1842,13 @@ class bedLevelWizardMain(InfoPage):
                                self.comm.sendCommand('G92 E0')
                                self.comm.sendCommand('G1 E-10 F%d' % (profile.getProfileSettingFloat('retraction_speed') * 60))
                                self.comm.sendCommand('M104 S0')
-                               wx.CallAfter(self.infoBox.SetInfo, 'Calibration finished.\nThe squares on the bed should slightly touch each other.')
+                               wx.CallAfter(self.infoBox.SetInfo, _('Calibration finished.\nThe squares on the bed should slightly touch each other.'))
                                wx.CallAfter(self.infoBox.SetReadyIndicator)
                                wx.CallAfter(self.GetParent().FindWindowById(wx.ID_FORWARD).Enable)
                                wx.CallAfter(self.connectButton.Enable, True)
                                self._wizardState = 12
                elif self.comm.isError():
-                       wx.CallAfter(self.infoBox.SetError, 'Failed to establish connection with the printer.', 'http://wiki.ultimaker.com/Cura:_Connection_problems')
+                       wx.CallAfter(self.infoBox.SetError, _('Failed to establish connection with the printer.'), 'http://wiki.ultimaker.com/Cura:_Connection_problems')
 
        def mcMessage(self, message):
                pass
@@ -1268,18 +1861,18 @@ class bedLevelWizardMain(InfoPage):
 
 class headOffsetCalibrationPage(InfoPage):
        def __init__(self, parent):
-               super(headOffsetCalibrationPage, self).__init__(parent, "Printer head offset calibration")
+               super(headOffsetCalibrationPage, self).__init__(parent, _("Printer head offset calibration"))
 
-               self.AddText('This wizard will help you in calibrating the printer head offsets of your dual extrusion machine')
+               self.AddText(_('This wizard will help you in calibrating the printer head offsets of your dual extrusion machine'))
                self.AddSeperator()
 
-               self.connectButton = self.AddButton('Connect to printer')
+               self.connectButton = self.AddButton(_('Connect to printer'))
                self.comm = None
 
                self.infoBox = self.AddInfoBox()
                self.textEntry = self.AddTextCtrl('')
                self.textEntry.Enable(False)
-               self.resumeButton = self.AddButton('Resume')
+               self.resumeButton = self.AddButton(_('Resume'))
                self.resumeButton.Enable(False)
 
                self.Bind(wx.EVT_BUTTON, self.OnConnect, self.connectButton)
@@ -1297,13 +1890,13 @@ class headOffsetCalibrationPage(InfoPage):
                        return
                self.connectButton.Enable(False)
                self.comm = machineCom.MachineCom(callbackObject=self)
-               self.infoBox.SetBusy('Connecting to machine.')
+               self.infoBox.SetBusy(_('Connecting to machine.'))
                self._wizardState = 0
 
        def OnResume(self, e):
                if self._wizardState == 2:
                        self._wizardState = 3
-                       wx.CallAfter(self.infoBox.SetBusy, 'Printing initial calibration cross')
+                       wx.CallAfter(self.infoBox.SetBusy, _('Printing initial calibration cross'))
 
                        w = profile.getMachineSettingFloat('machine_width')
                        d = profile.getMachineSettingFloat('machine_depth')
@@ -1351,7 +1944,7 @@ class headOffsetCalibrationPage(InfoPage):
                                return
                        profile.putPreference('extruder_offset_x1', self.textEntry.GetValue())
                        self._wizardState = 5
-                       self.infoBox.SetAttention('Please measure the distance between the horizontal lines in millimeters.')
+                       self.infoBox.SetAttention(_('Please measure the distance between the horizontal lines in millimeters.'))
                        self.textEntry.SetValue('0.0')
                        self.textEntry.Enable(True)
                elif self._wizardState == 5:
@@ -1361,7 +1954,7 @@ class headOffsetCalibrationPage(InfoPage):
                                return
                        profile.putPreference('extruder_offset_y1', self.textEntry.GetValue())
                        self._wizardState = 6
-                       self.infoBox.SetBusy('Printing the fine calibration lines.')
+                       self.infoBox.SetBusy(_('Printing the fine calibration lines.'))
                        self.textEntry.SetValue('')
                        self.textEntry.Enable(False)
                        self.resumeButton.Enable(False)
@@ -1416,7 +2009,7 @@ class headOffsetCalibrationPage(InfoPage):
                        x = profile.getMachineSettingFloat('extruder_offset_x1')
                        x += -1.0 + n * 0.1
                        profile.putPreference('extruder_offset_x1', '%0.2f' % (x))
-                       self.infoBox.SetAttention('Which horizontal line number lays perfect on top of each other? Front most line is zero.')
+                       self.infoBox.SetAttention(_('Which horizontal line number lays perfect on top of each other? Front most line is zero.'))
                        self.textEntry.SetValue('10')
                        self._wizardState = 8
                elif self._wizardState == 8:
@@ -1427,7 +2020,7 @@ class headOffsetCalibrationPage(InfoPage):
                        y = profile.getMachineSettingFloat('extruder_offset_y1')
                        y += -1.0 + n * 0.1
                        profile.putPreference('extruder_offset_y1', '%0.2f' % (y))
-                       self.infoBox.SetInfo('Calibration finished. Offsets are: %s %s' % (profile.getMachineSettingFloat('extruder_offset_x1'), profile.getMachineSettingFloat('extruder_offset_y1')))
+                       self.infoBox.SetInfo(_('Calibration finished. Offsets are: %s %s') % (profile.getMachineSettingFloat('extruder_offset_x1'), profile.getMachineSettingFloat('extruder_offset_y1')))
                        self.infoBox.SetReadyIndicator()
                        self._wizardState = 8
                        self.comm.close()
@@ -1440,7 +2033,7 @@ class headOffsetCalibrationPage(InfoPage):
                if self._wizardState == 1:
                        if temp[0] >= 210 and temp[1] >= 210:
                                self._wizardState = 2
-                               wx.CallAfter(self.infoBox.SetAttention, 'Please load both extruders with PLA.')
+                               wx.CallAfter(self.infoBox.SetAttention, _('Please load both extruders with PLA.'))
                                wx.CallAfter(self.resumeButton.Enable, True)
                                wx.CallAfter(self.resumeButton.SetFocus)
 
@@ -1449,7 +2042,7 @@ class headOffsetCalibrationPage(InfoPage):
                        return
                if self.comm.isOperational():
                        if self._wizardState == 0:
-                               wx.CallAfter(self.infoBox.SetInfo, 'Homing printer and heating up both extruders.')
+                               wx.CallAfter(self.infoBox.SetInfo, _('Homing printer and heating up both extruders.'))
                                self.comm.sendCommand('M105')
                                self.comm.sendCommand('M104 S220 T0')
                                self.comm.sendCommand('M104 S220 T1')
@@ -1459,21 +2052,21 @@ class headOffsetCalibrationPage(InfoPage):
                        if not self.comm.isPrinting():
                                if self._wizardState == 3:
                                        self._wizardState = 4
-                                       wx.CallAfter(self.infoBox.SetAttention, 'Please measure the distance between the vertical lines in millimeters.')
+                                       wx.CallAfter(self.infoBox.SetAttention, _('Please measure the distance between the vertical lines in millimeters.'))
                                        wx.CallAfter(self.textEntry.SetValue, '0.0')
                                        wx.CallAfter(self.textEntry.Enable, True)
                                        wx.CallAfter(self.resumeButton.Enable, True)
                                        wx.CallAfter(self.resumeButton.SetFocus)
                                elif self._wizardState == 6:
                                        self._wizardState = 7
-                                       wx.CallAfter(self.infoBox.SetAttention, 'Which vertical line number lays perfect on top of each other? Leftmost line is zero.')
+                                       wx.CallAfter(self.infoBox.SetAttention, _('Which vertical line number lays perfect on top of each other? Leftmost line is zero.'))
                                        wx.CallAfter(self.textEntry.SetValue, '10')
                                        wx.CallAfter(self.textEntry.Enable, True)
                                        wx.CallAfter(self.resumeButton.Enable, True)
                                        wx.CallAfter(self.resumeButton.SetFocus)
 
                elif self.comm.isError():
-                       wx.CallAfter(self.infoBox.SetError, 'Failed to establish connection with the printer.', 'http://wiki.ultimaker.com/Cura:_Connection_problems')
+                       wx.CallAfter(self.infoBox.SetError, _('Failed to establish connection with the printer.'), 'http://wiki.ultimaker.com/Cura:_Connection_problems')
 
        def mcMessage(self, message):
                pass
@@ -1486,7 +2079,7 @@ class headOffsetCalibrationPage(InfoPage):
 
 class bedLevelWizard(wx.wizard.Wizard):
        def __init__(self):
-               super(bedLevelWizard, self).__init__(None, -1, "Bed leveling wizard")
+               super(bedLevelWizard, self).__init__(None, -1, _("Bed leveling wizard"))
 
                self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGED, self.OnPageChanged)
                self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGING, self.OnPageChanging)
@@ -1494,9 +2087,6 @@ class bedLevelWizard(wx.wizard.Wizard):
                self.mainPage = bedLevelWizardMain(self)
                self.headOffsetCalibration = None
 
-               self.FitToPage(self.mainPage)
-               self.GetPageAreaSizer().Add(self.mainPage)
-
                self.RunWizard(self.mainPage)
                self.Destroy()
 
@@ -1515,16 +2105,13 @@ class bedLevelWizard(wx.wizard.Wizard):
 
 class headOffsetWizard(wx.wizard.Wizard):
        def __init__(self):
-               super(headOffsetWizard, self).__init__(None, -1, "Head offset wizard")
+               super(headOffsetWizard, self).__init__(None, -1, _("Head offset wizard"))
 
                self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGED, self.OnPageChanged)
                self.Bind(wx.wizard.EVT_WIZARD_PAGE_CHANGING, self.OnPageChanging)
 
                self.mainPage = headOffsetCalibrationPage(self)
 
-               self.FitToPage(self.mainPage)
-               self.GetPageAreaSizer().Add(self.mainPage)
-
                self.RunWizard(self.mainPage)
                self.Destroy()