public static function language(string $lang = 'en', string $locale = 'en') : string
    {
        return static::languages($locale)->get($lang);
    }
public static function language(string $lang = 'en', string $locale = 'en') : string
    {
        return static::languages($locale)->get($lang);
    }
public static function language ( string $ lang = 'en' , string $ locale = 'en' ) : string { return static :: languages ( $ locale ) -> get ( $ lang ) ; }
Returns the language name based on a locale.

@param  string $lang
@param  string $locale
@return string
Returns the language name based on a locale .