BundleEntryReader::setLocaleAliases()

setLocaleAliases(array $localeAliases)

Stores a mapping of locale aliases to locales.

This mapping is used when reading entries and merging them with their fallback locales. If an entry is read for a locale alias (e.g. "mo") that points to a locale with a fallback locale ("ro_MD"), the reader can continue at the correct fallback locale ("ro").

Parameters

array $localeAliases A mapping of locale aliases to locales
doc_Symfony
2016-10-28 06:07:20
Comments
Leave a Comment

Please login to continue.