actOnUpdatedPrefs(lyxrc_orig, lyxrc);
+ // Set the language defined by the user.
+ LyX::ref().setRcGuiLanguage();
+
theApp()->resetGui();
/// We force the redraw in any case because there might be
case LyXRC::RC_CUSTOM_EXPORT_FORMAT:
case LyXRC::RC_DATE_INSERT_FORMAT:
case LyXRC::RC_DEFAULT_LANGUAGE:
- case LyXRC::RC_ENV_GUI_LANGUAGE:
case LyXRC::RC_GUI_LANGUAGE:
case LyXRC::RC_DEFAULT_PAPERSIZE:
case LyXRC::RC_DEFFILE: