I18Nv2_Negotiator::getLanguageMatch

I18Nv2_Negotiator::getLanguageMatch() – Get language match

Synopsis

require_once 'I18Nv2/Negotiator.php';

string I18Nv2_Negotiator::getLanguageMatch ( array $langs = null )

Description

Get a matching language code.

Parameter

array $langs

array of language codes

Return value

Returns string matching language code.

Note

This function can not be called statically.

Get country match (Previous) Get locale match (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.