Symfony\Component\Intl\ResourceBundle\LocaleBundleInterface::getLocaleName
Returns the name of a locale.
Signature
public function getLocaleName(string
$ofLocale,
[string
$locale = null] )
Parameters
$ofLocale
— string- The locale to return the name of (e.g. "de_AT").
$locale
— string- Optional. The locale to return the name in.
Defaults to .
Returns
- string|null
- The name of the locale or NULL if not found.