protected function generateAvailableLocalesCollectionFromSettings()
    {
        foreach ($this->settings['availableLocales'] as $localeIdentifier) {
            $this->localeCollection->addLocale(new Locale($localeIdentifier));
        }
    }
protected function generateAvailableLocalesCollectionFromSettings()
    {
        foreach ($this->settings['availableLocales'] as $localeIdentifier) {
            $this->localeCollection->addLocale(new Locale($localeIdentifier));
        }
    }
protected function generateAvailableLocalesCollectionFromSettings ( ) { foreach ( $ this -> settings [ 'availableLocales' ] as $ localeIdentifier ) { $ this -> localeCollection -> addLocale ( new Locale ( $ localeIdentifier ) ) ; } }
Generates the available Locales Collection from the configuration setting
`Neos.Flow.i18n.availableLocales`.

Note: result of this method invocation is cached

@return void
Generates the available Locales Collection from the configuration setting Neos . Flow . i18n . availableLocales .