public static function PHPExcel_Settings::setLocale in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php \PHPExcel_Settings::setLocale()
Set the locale code to use for formula translations and any special formatting
Parameters
string $locale The locale code to use (e.g. "fr" or "pt_br" or "en_uk"):
Return value
boolean Success or failure
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Settings.php, line 191
Class
Code
public static function setLocale($locale = 'en_us') {
return PHPExcel_Calculation::getInstance()
->setLocale($locale);
}