Locale::getKeywords

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Gets the keywords for the input locale public static array Locale::getKeywords ( string $locale ) Object oriented style Procedural style array locale_get_keywords ( string $locale ) Gets the keywords for the input locale. Parameters: locale The locale to extract the keywords from Returns: Ass

Locale::getDisplayVariant

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for variants of the input locale public static string Locale::getDisplayVariant ( string $locale [, string $in_locale ] ) Object oriented style 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

Locale::getDisplayScript

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for script of the input locale public static string Locale::getDisplayScript ( string $locale [, string $in_locale ] ) Object oriented style Procedural style string locale_get_display_script ( string $locale [, string $in_locale ] ) Returns an appropriately localized display name for script of the input locale. If is NULL t

Locale::getDisplayRegion

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for region of the input locale public static string Locale::getDisplayRegion ( string $locale [, string $in_locale ] ) Object oriented style Procedural style string locale_get_display_region ( string $locale [, string $in_locale ] ) Returns an appropriately localized display name for region of the input locale. If is NULL t

Locale::getDisplayName

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for the input locale public static string Locale::getDisplayName ( string $locale [, string $in_locale ] ) Object oriented style Procedural style string locale_get_display_name ( string $locale [, string $in_locale ] ) Returns an appropriately localized display name for the input locale. If is NULL then the default locale i

Locale::getDisplayLanguage

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns an appropriately localized display name for language of the inputlocale public static string Locale::getDisplayLanguage ( string $locale [, string $in_locale ] ) Object oriented style Procedural style string locale_get_display_language ( string $locale [, string $in_locale ] ) Returns an appropriately localized display name for language of the input locale. If is

Locale::getDefault

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Gets the default locale value from the INTL global 'default_locale' public static string Locale::getDefault ( void ) Object oriented style Procedural style string locale_get_default ( void ) Gets the default locale value. At the PHP initialization this value is set to 'intl.default_locale' value from php.ini if that value exists or from ICU's function uloc_getDefault().

Locale::getAllVariants

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Gets the variants for the input locale public static array Locale::getAllVariants ( string $locale ) Object oriented style Procedural style array locale_get_all_variants ( string $locale ) Gets the variants for the input locale Parameters: locale The locale to extract the variants from Returns:

Locale::filterMatches

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Checks if a language tag filter matches with locale public static bool Locale::filterMatches ( string $langtag, string $locale [, bool $canonicalize = false ] ) Object oriented style Procedural style bool locale_filter_matches ( string $langtag , string $locale [, bool $canonicalize = false ] ) Checks if a $langtag filter matches with $locale according to RFC 4647's bas

Locale::composeLocale

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) Returns a correctly ordered and delimited locale ID public static string Locale::composeLocale ( array $subtags ) Object oriented style Procedural style string locale_compose ( array $subtags ) Returns a correctly ordered and delimited locale ID the keys identify the particular locale ID subtags, and the values are the associated subtag values. Parameter