string|null getLanguageName(string $language, string|null $region = null, string $displayLocale = null)
Returns the name of a language.
string|null getLanguageName(string $language, string|null $region = null, string $displayLocale = null)
Returns the name of a language.
string | $language | A language code (e.g. "en") |
string|null | $region | Optional. A region code (e.g. "US") |
string | $displayLocale | Optional. The locale to return the name in Defaults to {@link \Locale::getDefault()}. |
string|null | The name of the language or NULL if not found |
Designed by : w10schools
service@w10schools.com
Please login to continue.