Add support for non-ISO locale identifiers via renames map
Windows apparently uses "no" for Norwegian Bokmål, even though its ISO 639-1 language code is "nb"... Closes #12479. Also did some non-intrusive cleanup while at it.
This commit is contained in:
@@ -544,6 +544,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
||||
{
|
||||
String lang_hint = "en";
|
||||
String host_lang = OS::get_singleton()->get_locale();
|
||||
host_lang = TranslationServer::standardize_locale(host_lang);
|
||||
|
||||
String best;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user