framework/utils/CLocalizedFormatter.php
public function setLocale($locale)
	{
		if(is_string($locale))
			$locale=CLocale::getInstance($locale);
		$this->sizeFormat['decimalSeparator']=$locale->getNumberSymbol('decimal');
		$this->_locale=$locale;
	}
public function setLocale($locale)
	{
		if(is_string($locale))
			$locale=CLocale::getInstance($locale);
		$this->sizeFormat['decimalSeparator']=$locale->getNumberSymbol('decimal');
		$this->_locale=$locale;
	}
public function setLocale ( $ locale ) { if ( is_string ( $ locale ) ) $ locale = CLocale :: getInstance ( $ locale ) ; $ this -> sizeFormat [ 'decimalSeparator' ] = $ locale -> getNumberSymbol ( 'decimal' ) ; $ this -> _locale = $ locale ; }
Set the locale to use for formatting values.
@param CLocale|string $locale an instance of CLocale or a locale ID
Set the locale to use for formatting values .