Enables access to links related to site language environments.
These properties give access to extra features on this object.
2-character language code, such as "en"
2-character region code for languages that support regions. E.g. "GB" or "BR", nil otherwise.
Equal to the value of
code for region-less languages. If a language supports regions, this is a concatenation of the language code, an underscore and the region code, e.g. "en_GB".
Returns true if language is selected
published?Returns true if language is publicly visible
Returns language title set when creating this language environment
Returns address for translation of this page in another language. If such page does not exist, it will return address to home page in this language.
Serializes the language into a JSON string.