PHP » GoLang |
login |
register |
about
|
GoLang Locale::getDisplayVariant
request it (374)
GoLang replacement for PHP's Locale::getDisplayVariant
[edit | history]
Locale::getDisplayVariantlocale_get_display_variant(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Locale::getDisplayVariant -- locale_get_display_variant — Returns 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
|
more
Recently updated
more
Most requested
more
Last requests
|