diff --git a/tests/test_main.cpp b/tests/test_main.cpp index ba81218cd26..6569e8f9b11 100644 --- a/tests/test_main.cpp +++ b/tests/test_main.cpp @@ -369,6 +369,9 @@ struct GodotTestCaseListener : public doctest::IReporter { #ifdef TOOLS_ENABLED if (EditorSettings::get_singleton()) { EditorSettings::destroy(); + + // Instantiating the EditorSettings singleton sets the locale to the editor's language. + TranslationServer::get_singleton()->set_locale("en"); } if (EditorPaths::get_singleton()) { EditorPaths::free();