set mergeFallback to true, otherwise an uncomplete list is shown with default locale is for example de_CH
This commit is contained in:
parent
8890627798
commit
4587d4e28a
@ -27,7 +27,7 @@ class LocaleBundle extends AbstractBundle implements LocaleBundleInterface
|
||||
$locale = \Locale::getDefault();
|
||||
}
|
||||
|
||||
return $this->readEntry($locale, array('Locales', $ofLocale));
|
||||
return $this->readEntry($locale, array('Locales', $ofLocale), true);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -39,7 +39,7 @@ class LocaleBundle extends AbstractBundle implements LocaleBundleInterface
|
||||
$locale = \Locale::getDefault();
|
||||
}
|
||||
|
||||
if (null === ($locales = $this->readEntry($locale, array('Locales')))) {
|
||||
if (null === ($locales = $this->readEntry($locale, array('Locales'), true))) {
|
||||
return array();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user