|
Locale::getDisplayVariantlocale_get_display_variantReturns an appropriately localized display name for variants of the input locale DescriptionObject oriented style
public
static
string
Locale::getDisplayVariant
( string
$locale
[, string $in_locale
] )Procedural style
string
locale_get_display_variant
( string
$locale
[, string $in_locale
] )
Returns an appropriately localized display name for variants of the input
locale. If is Parameters
Return ValuesDisplay name of the variant for the $locale in the format appropriate for $in_locale. ExamplesExample #1 locale_get_display_variant example
<?php Example #2 OO example
<?php The above example will output: Natisone dialect; dialecte de Natisone; NEDIS See Also
|