Initializes the language manager at the beginning of the request.
\Symfony\Component\HttpKernel\Event\RequestEvent $event: The Event to process.
public function onKernelRequestLanguage(RequestEvent $event) { if ($event->isMainRequest()) { $this->setLanguageOverrides(); } }