Details
Description
Let's say we have in a single eZ instance two websites, each one with two siteaccess (one for french content, one for english content).
The second website was created by duplicating the first one.
The siteacesses are :
Siteaccess #1 : com_en responding on http://www.example.com/en with ContentObjectLocale=eng-GB and PathPrefix=path1
Siteaccess #2 : com_fr responding on http://www.example.com/fr with ContentObjectLocale=fre-FR and PathPrefix=path1
Siteaccess #3 : net_en responding on http://www.example.net/en with ContentObjectLocale=eng-GB and PathPrefix=path2
Siteaccess #4 : net_fr responding on http://www.example.net/fr with ContentObjectLocale=fre-FR and PathPrefix=path2
The path tree is
Content root node
- path1
- node1 : with two languages (eng-GB, fre-FR) and two url_alias : ("Our-main-jobs", "Nos-principaux-metiers")
- path2
- node2 : with two languages (eng-GB, fre-FR) and two url_alias : ("Our-main-jobs", "Nos-principaux-metiers")
The switch language fonctionnality does not handle PathPrefix.
http://www.example.net/fr/switchlanguage/to/net_en/Nos-principaux-metiers will send you to http://www.example.net/en/path1/Our-main-jobs
It should redirect to http://www.example.net/en/Our-main-jobs