Locale::parseLocale()

static array parseLocale(string $locale) Not supported. Returns an associative array of locale identifier subtags. Parameters string $locale The locale code to extract the subtag array from Return Value array Associative array with the extracted subtags Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.parselocale.php

Locale::lookup()

static lookup(array $langtag, string $locale, bool $canonicalize = false, string $default = null) Not supported. Returns the closest language tag for the locale. Parameters array $langtag A list of the language tags to compare to locale string $locale The locale to use as the language range when matching bool $canonicalize If true, the arguments will be converted to canonical form before matching string $default The locale to use if no match is found Exceptions Meth

Locale::getScript()

static string|null getScript(string $locale) Not supported. Returns the script for the locale. Parameters string $locale The locale code to extract the script code from Return Value string|null The extracted script code or null if not present Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getscript.php

Locale::getRegion()

static string|null getRegion(string $locale) Not supported. Returns the region for the locale. Parameters string $locale The locale code to extract the region code from Return Value string|null The extracted region code or null if not present Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getregion.php

Locale::getPrimaryLanguage()

static string|null getPrimaryLanguage(string $locale) Not supported. Returns the primary language for the locale. Parameters string $locale The locale code to extract the language code from Return Value string|null The extracted language code or null in case of error Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getprimarylanguage.php

Locale::getKeywords()

static array getKeywords(string $locale) Not supported. Returns the keywords for the locale. Parameters string $locale The locale code to extract the keywords from Return Value array Associative array with the extracted variants Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getkeywords.php

Locale::getFallback()

static string|null getFallback(string $locale) Returns the fallback locale for a given locale. For example, the fallback of "fr_FR" is "fr". The fallback of "fr" is the default fallback locale configured with {@link setDefaultFallback()}. The default fallback locale has no fallback. Parameters string $locale The ICU locale code to find the fallback for Return Value string|null The ICU locale code of the fallback locale, or null if no fallback exists

Locale::getDisplayVariant()

static string getDisplayVariant(string $locale, string $inLocale = null) Not supported. Returns the localized display name for the locale variant. Parameters string $locale The locale code to return the display variant from string $inLocale Optional format locale code to use to display the variant name Return Value string The localized variant display name Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getdisplayvariant.php

Locale::getDisplayScript()

static string getDisplayScript(string $locale, string $inLocale = null) Not supported. Returns the localized display name for the locale script. Parameters string $locale The locale code to return the display script from string $inLocale Optional format locale code to use to display the script name Return Value string The localized script display name Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getdisplayscript.php

Locale::getDisplayRegion()

static string getDisplayRegion(string $locale, string $inLocale = null) Not supported. Returns the localized display name for the locale region. Parameters string $locale The locale code to return the display region from string $inLocale Optional format locale code to use to display the region name Return Value string The localized region display name Exceptions MethodNotImplementedException See also http://www.php.net/manual/en/locale.getdisplayregion.php