The FilterLocaleSwitchEvent constructor needs the request.

Tha documentations is incorrect when using FilterLocaleSwitchEvent because it's missing the request object.