public function addLocale(MvcEvent $event)
    {
        $locale = $this->siteService->getCurrentSite()->getLocale();

        $this->localeService->setLocale($locale);

        return null;
    }
public function addLocale(MvcEvent $event)
    {
        $locale = $this->siteService->getCurrentSite()->getLocale();

        $this->localeService->setLocale($locale);

        return null;
    }
public function addLocale ( MvcEvent $ event ) { $ locale = $ this -> siteService -> getCurrentSite ( ) -> getLocale ( ) ; $ this -> localeService -> setLocale ( $ locale ) ; return null ; }
Set the system locale to Site Requirements

@param MvcEvent $event

@return null
Set the system locale to Site Requirements