diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py
index <HASH>..<HASH> 100644
--- a/spyderlib/spyder.py
+++ b/spyderlib/spyder.py
@@ -1246,6 +1246,8 @@ def initialize():
     sys.exit = fake_sys_exit

     

     # Translation

+    qt_translator = None

+    app_translator = None

     if CONF.get('main', 'translation'):

         locale = QLocale.system().name()

         qt_translator = QTranslator()
Fixed: error when running Spyder with [main] Translate = False