diff --git a/classes/LocaleManager.php b/classes/LocaleManager.php index aeed169..7e36e8c 100644 --- a/classes/LocaleManager.php +++ b/classes/LocaleManager.php @@ -63,7 +63,9 @@ class LocaleManager $process->run(); $installedLocales = explode(PHP_EOL, trim($process->getOutput())); foreach ($this->supportedLocales as $supportedLocale) { - if (in_array($supportedLocale, $installedLocales)) { + if (in_array($supportedLocale, $installedLocales) + || in_array($supportedLocale.'.utf8', $installedLocales) + ) { $return[] = new Locale($supportedLocale); } }