Init language earlier
@@ -144,14 +144,14 @@ class Workbench(tk.Tk):
self._init_configuration()
self._init_diagnostic_logging()
+ self._init_language()
+
self._active_ui_mode = os.environ.get("THONNY_MODE", self.get_option("general.ui_mode"))
self._init_scaling()
self._add_main_backends()
- self._init_language()
-
self._init_theming()
self._init_window()
self.add_view(ShellView, _("Shell"), "s", visible_by_default=True, default_position_key="A")
