public function setLocale() { if ($locale = $this->app->session->get('administrator_locale')) { $this->app->setLocale($locale); } }