Help And Documentation

2: Object Reference

2.17: The Language Object

A Language object can be used to set the current language of the site or display one of several translations of the same content depending on what the current language of the site is set to.

The current language value is not automatically saved as a session variable, so you must set the current language every time. For example, you could set the current language based on a session variable that you have set, a preference loaded from the database or even a URL segment value.

Next Page » « Previous Page