Comparing
#1 with
#2
Revision #2 was created by
Maurizio Domba Cerin on Oct 27, 2012, 5:10:05 PM.
code style
Content
[...]
switch (Yii::app()->language) {
case 'nl':
$this->dateFormat = 'd-m-Y';
$this->timeFormat = 'H:i:s';
$this->datetimeFormat = 'd-m-Y H:i:s';
$this->numberFormat = array(
'decimals'=>null,
'decimalSeparator'=>',',
'thousandSeparator'=>'.'
);
$this->booleanFormat = array('Nee', 'Ja');
break;
// Add more language cases according to your needs
}
}
}
```[...]