|
Locale::getDisplayNamelocale_get_display_nameReturns an appropriately localized display name for the input locale DescriptionObject-oriented style
public static stringfalse Locale::getDisplayName(string
$locale, stringnull $displayLocale = null)Procedural style stringfalse locale_get_display_name(string
$locale, stringnull $displayLocale = null)
Returns an appropriately localized display name for the input locale. If Parameters
Return Values
Display name of the locale in the format appropriate for Changelog
ExamplesExample #1 locale_get_display_name example Example #2 OO example The above example will output: Slovenian (Latin, Italy, Natisone dialect); slovène (latin, Italie, dialecte de Natisone); Slowenisch (Lateinisch, Italien, Natisone-Dialekt) See Also
|