### Godot version

4.1.2

### System information

Godot v4.1.2.stable.mono - Windows 11 22h2 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 31.0.15.3742) - 11th Gen Intel(R) Core(TM) i5-11600K @ 3.90GHz (12 Threads)

### Issue description

in a right to left language (in my case Persian) the Ui gets inverted and i know it should be like that but you just cant work i will leave a screen shot so  you can see
![Screenshot 2023-11-16 042657](https://github.com/godotengine/godot/assets/118190096/76f0849d-945d-407b-b450-391c65c01f0e)


### Steps to reproduce

change the language to Persian

### Minimal reproduction project

N/A
String theme_section = "color_theme";
	Ref<ConfigFile> cf = memnew(ConfigFile); 
	List<String> keys;
	for (const KeyValue<String, VariantContainer> &E : props) {
		keys.push_back(E.key);
	}
	keys.sort();
	for (const String &key : keys) {
		if (key.begins_with("text_editor/theme/highlighting/") && key.find("color") >= 0) {
			cf->set_value(theme_section, key.replace("text_editor/theme/highlighting/", ""), ((Color)props[key].variant).to_html());
		}
	}
	Error err = cf->save(p_file);
	return err == OK;
}
bool EditorSettings::_is_default_text_editor_theme(String p_theme_name) {
	return p_theme_name == "default" || p_theme_name == "godot 2" || p_theme_name == "custom";
}
const String EditorSettings::_get_project_metadata_path() const {
	return EditorPaths::get_singleton()->get_project_settings_dir().path_join("project_metadata.cfg");
}
EditorSettings *EditorSettings::get_singleton() {
	return singleton.ptr();
}
void EditorSettings::create() {