Element: messagefile.languages[]

Type

string

Description

The codes of the available languages for the message file.

The language codes available for multi-language message files are those accepted by international locales, e.g. en_us (American English), fr (French), fr_ca (Canadian French) etc., and the value of this array will be one or more of these.

The values or length of this array is maintained by the system and cannot be changed.

For multi-language message files, any call to the messagefile.text function to retrieve text will retrieve the text for the current language (messagefile.current_language).

Single-language message files have no concept of languages so the value of this attribute will always be one empty string.