This interface describes a language information consisting of language code(ISO 639) and country code(ISO 3166).

 Methods

Retrieve the ISO 3166 country code.

getCountryCode() : string

Returns

string

Retrieve the ISO 639 language code.

getLanguageCode() : string

Returns

string

Retrieve the RFC 3066 locale string.

getLocale() : mixed
This string is combined as language-code + "_" + country-code. If no country code has been set, the language code only will get returned.

Returns

mixed