set mergeFallback to true, otherwise an uncomplete list is shown with default locale is for example de_CH

This commit is contained in:
Yorkie Chadwick 2013-11-07 16:35:54 +01:00
parent 8890627798
commit 4587d4e28a

View File

@ -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();
}