diff --git a/src/i18n/Data/Intl/IntlLocales.php b/src/i18n/Data/Intl/IntlLocales.php index 8e5d5b80233..657f4138055 100644 --- a/src/i18n/Data/Intl/IntlLocales.php +++ b/src/i18n/Data/Intl/IntlLocales.php @@ -1455,7 +1455,9 @@ public function getLocales() $locales = $this->config()->get('locales'); $localised = []; foreach ($locales as $code => $default) { - $localised[$code] = $this->localeName($code); + // Fix spelling Maori language + $localeName = str_replace('Maori', 'Māori', $this->localeName($code)); + $localised[$code] = $localeName; } // Save cache