private function setPhpDefaultLocale($locale) { try { \Locale::setDefault($this->locale); } catch (\Exception $e) { // means that intl is not installed. } }