public function setLocale($locale) {
		$this->locale          = trim($locale);
		$this->primaryLanguage = IntlLocale::getPrimaryLanguage($this->locale);
	}
public function setLocale($locale) {
		$this->locale          = trim($locale);
		$this->primaryLanguage = IntlLocale::getPrimaryLanguage($this->locale);
	}
public function setLocale ( $ locale ) { $ this -> locale = trim ( $ locale ) ; $ this -> primaryLanguage = IntlLocale :: getPrimaryLanguage ( $ this -> locale ) ; }
Set the locale

@param string $locale
Set the locale