This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Install & configuration » UriElement and SwitchLanguage

UriElement and SwitchLanguage

UriElement and SwitchLanguage

Wednesday 25 July 2012 5:21:59 pm - 1 reply


I have 2 siteaccess :afbd_mbdp_en and afbd_mbdp_fr , my siteaccess is determine with :


Everything is ok but when i use switchlanguage e.g : /afbd/mbdp/en/switchlanguage/to/afbd_mbdp_fr it's work but my url is /afbd_mbdp_fr and not /afbd/mbdp/fr.

How can i solve this problem ? Is it necessary to implement a new language switcher ?




Thursday 23 August 2012 11:52:17 am

Yes, you will probably need to alter it.  I had to override kernel/private/classes/ezlanguageswitcher.php for, in order to get it spitting out the URL I wanted.  Happy to send this to you if you want to diff it against the original - just send me a private message.

The easiest way is to replace your siteaccess name with your SiteURL.



You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from