protected function getCurrentCulture() { $app = $this->getApplication()->getGlobalization(false); return $this->getCulture() == '' ? $app ? $app->getCulture() : 'en' : $this->getCulture(); }