private function updateRegional() { $currentLocale = $this->getCurrentLocaleEntity(); if (!empty($regional = $currentLocale->regional())) { setlocale(LC_TIME, "{$regional}.UTF-8"); setlocale(LC_MONETARY, "{$regional}.UTF-8"); } }