public function setLanguage($lang)
	{
		$this->lang     = $lang;
		$this->metadata = $this->getMetadata($this->lang);

		return $this;
	}
public function setLanguage($lang)
	{
		$this->lang     = $lang;
		$this->metadata = $this->getMetadata($this->lang);

		return $this;
	}
public function setLanguage ( $ lang ) { $ this -> lang = $ lang ; $ this -> metadata = $ this -> getMetadata ( $ this -> lang ) ; return $ this ; }
Set the language attributes to the given language.

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

@param   string  $lang  Language code.
@return  string  Previous value.
Set the language attributes to the given language .