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

MethodNotImplementedException

See also

http://www.php.net/manual/en/locale.lookup.php
doc_Symfony
2016-10-28 06:22:55
Comments
Leave a Comment

Please login to continue.