public static function languages(string $locale = 'en') : Collection
    {
        return Collection::make(include __DIR__ . "/../../../umpirsky/language-list/data/{$locale}/language.php")->map(function ($lang) {
            return ucfirst($lang);
        });
    }
public static function languages(string $locale = 'en') : Collection
    {
        return Collection::make(include __DIR__ . "/../../../umpirsky/language-list/data/{$locale}/language.php")->map(function ($lang) {
            return ucfirst($lang);
        });
    }
public static function languages ( string $ locale = 'en' ) : Collection { return Collection :: make ( include __DIR__ . "/../../../umpirsky/language-list/data/{$locale}/language.php" ) -> map ( function ( $ lang ) { return ucfirst ( $ lang ) ; } ) ; }
Returns the language list based on a locale.

@param  string $locale
@return Collection
Returns the language list based on a locale .