JLanguage::setLanguage

Set the language attributes to the given language.

Once called, the language still needs to be loaded using JLanguage::load().