|
Locale::getDisplayNamelocale_get_display_nameReturns an appropriately localized display name for the input locale DescriptionObject oriented style
public
static
string
Locale::getDisplayName
( string
$locale
[, string $in_locale
] )Procedural style
string
locale_get_display_name
( string
$locale
[, string $in_locale
] )
Returns an appropriately localized display name for the input locale. If is
Parameters
Return ValuesDisplay name of the locale in the format appropriate for $in_locale. ExamplesExample #1 locale_get_display_name example
<?php Example #2 OO example
<?php The above example will output: Slovenian (Latin, Italy, Natisone dialect); slov\xc3\xa8ne (latin, Italie, dialecte de Natisone; Slowenisch (Lateinisch, Italien, NEDIS) See Also
|