Symfony\Component\Intl\ResourceBundle\LanguageBundleInterface::getLanguageName
Returns the name of a language.
Signature
public function getLanguageName(string
$lang,
[string|null
$region = null,
[string
$locale = null]] )
Parameters
$lang
— string- A language code (e.g. "en").
$region
— object- Optional. A region code (e.g. "US").
$locale
— string- Optional. The locale to return the name in.
Defaults to .
Returns
- string|null
- The name of the language or NULL if not found.