protected function mergeUtf8Locales(array $inputLocales)
    {
        $locales = [];
        foreach ($inputLocales as $locale) {
            $locales[] = $locale . '.UTF-8';
            $locales[] = $locale . '.utf8';
            $locales[] = $locale;
        }

        return $locales;
    }
protected function mergeUtf8Locales(array $inputLocales)
    {
        $locales = [];
        foreach ($inputLocales as $locale) {
            $locales[] = $locale . '.UTF-8';
            $locales[] = $locale . '.utf8';
            $locales[] = $locale;
        }

        return $locales;
    }
protected function mergeUtf8Locales ( array $ inputLocales ) { $ locales = [ ] ; foreach ( $ inputLocales as $ locale ) { $ locales [ ] = $ locale . '.UTF-8' ; $ locales [ ] = $ locale . '.utf8' ; $ locales [ ] = $ locale ; } return $ locales ; }
Adds UTF-8 suffixes for each locale in given list.

@param string[] $inputLocales

@return string[]
Adds UTF - 8 suffixes for each locale in given list .