Helper/LocaleHelper.php
public function getDisplayLocales()
    {
        $locales = array();

        foreach ($this->allowedLocales as $locale) {
            $locales[$locale] = \Locale::getDisplayName($locale);
        }

        return $locales;
    }
public function getDisplayLocales()
    {
        $locales = array();

        foreach ($this->allowedLocales as $locale) {
            $locales[$locale] = \Locale::getDisplayName($locale);
        }

        return $locales;
    }
public function getDisplayLocales ( ) { $ locales = array ( ) ; foreach ( $ this -> allowedLocales as $ locale ) { $ locales [ $ locale ] = \ Locale :: getDisplayName ( $ locale ) ; } return $ locales ; }
Get display locales.

@return array
Get display locales .