Merge pull request #63043 from pattlebass/fix-html5-locale
HTML5: Make locale string match other platforms
This commit is contained in:
commit
08f3053641
|
@ -334,6 +334,7 @@ const InternalConfig = function (initConfig) { // eslint-disable-line no-unused-
|
|||
locale = navigator.languages ? navigator.languages[0] : navigator.language;
|
||||
locale = locale.split('.')[0];
|
||||
}
|
||||
locale = locale.replace('-', '_');
|
||||
const onExit = this.onExit;
|
||||
|
||||
// Godot configuration.
|
||||
|
|
Loading…
Reference in New Issue