previousI18Nv2_Negotiator::getLanguageMatch (Previous) (Next) I18Nv2_Negotiator::getVariantInfonext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

I18Nv2_Negotiator::getLocaleMatch

I18Nv2_Negotiator::getLocaleMatch() – Get locale match

Synopsis

require_once 'I18Nv2/Negotiator.php';

string I18Nv2_Negotiator::getLocaleMatch ( array $langs = null , array $countries = null )

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.

previousI18Nv2_Negotiator::getLanguageMatch (Previous) (Next) I18Nv2_Negotiator::getVariantInfonext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.