mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Fix loading countries
This commit is contained in:
@@ -75,7 +75,7 @@ class LoadLanguages extends AbstractFixture implements ContainerAwareInterface,
|
||||
$names = [];
|
||||
|
||||
foreach ($this->container->getParameter('chill_main.available_languages') as $lang) {
|
||||
$names[$lang] = \Symfony\Component\Intl\Languages::getName('en_GB');
|
||||
$names[$lang] = \Symfony\Component\Intl\Languages::getName($languageCode, $lang);
|
||||
}
|
||||
|
||||
return $names;
|
||||
|
Reference in New Issue
Block a user