Fix EZP-23222: LanguageSwitcher does not work in content preview
Fix EZP-23221: prevent fatal error in RouteReferenceGenerator if there is no request route.
Merge pull request #945 from joaoinacio/EZP-23221_ezroute_no_route_fatal_error

Fix EZP-23221: fatal error in RouteReferenceGenerator if there is no request route.
Merge pull request #946 from joaoinacio/EZP-23222

Fix EZP-23222: LanguageSwitcher does not work in content preview