Fix EZP-23222: LanguageSwitcher does not work in content preview
Merge pull request #946 from joaoinacio/EZP-23222

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