src/Carbon/Traits/Localization.php
public static function getAvailableLocalesInfo()
    {
        $languages = [];
        foreach (static::getAvailableLocales() as $id) {
            $languages[$id] = new Language($id);
        }

        return $languages;
    }
public static function getAvailableLocalesInfo()
    {
        $languages = [];
        foreach (static::getAvailableLocales() as $id) {
            $languages[$id] = new Language($id);
        }

        return $languages;
    }
public static function getAvailableLocalesInfo ( ) { $ languages = [ ] ; foreach ( static :: getAvailableLocales ( ) as $ id ) { $ languages [ $ id ] = new Language ( $ id ) ; } return $ languages ; }
Returns list of Language object for each available locale. This object allow you to get the ISO name, native
name, region and variant of the locale.

@return Language[]
Returns list of Language object for each available locale . This object allow you to get the ISO name native name region and variant of the locale .