I18Nv2_Negotiator::I18Nv2_Negotiator

I18Nv2_Negotiator::I18Nv2_Negotiator() – Constructor

Synopsis

require_once 'I18N/Negotiator.php';

object I18Nv2_Negotiator I18Nv2_Negotiator::I18Nv2_Negotiator ( string $defaultLanguage = 'en' , string $defaultCharset = 'iso-8859-1' , string $defaultCountry = '' )

Description

Find language code, country code, charset code, and dialect or variant of locale setting in HTTP request headers.

Parameter

string $defaultLanguage

default language

string $defaultCharset

default character set

string $defaultCountry

default country

Return value

Returns object I18Nv2_Negotiator.