I18Nv2_Negotiator::getLocaleMatch

I18Nv2_Negotiator::getLocaleMatch()

I18Nv2_Negotiator::getLocaleMatch()  -- Get locale match

Description

Get a matching locale code.

This method is a combination of I18Nv2::getLanguageMatch() and I18Nv2::getCountryMatch()

Parameter

array $langs

array of language codes

array $countries

array of country codes

Return value

Returns string matching locale code.

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.