Monday 14 May 2012 9:46:48 am - 4 replies
I have a problem on the switch language operation, I have a mixture of content (EN/FR).
On direct access to a node (with it's url_alias) it works (event if it doesn't have a translation) , the default node translation is returned.
The problem is, when i'am on a node that doesn't have a translation and i choose to switch language , i get a link with a structure like (Mysite/newLangSiteAccess/nodeid) which generate an error (MODULE NOT FOUND).If somebody have already encountered the same issue.
Tuesday 15 May 2012 10:17:51 am
The language-switch URL looks wrong ( Mysite/newLangSiteAccess/nodeid ). The standard today is a URL of the following form : /switchlanguage/to/<siteaccess_name> . You can find an example of how this is built-in in templates in extension/ezwebin/design/ezwebin/templates/page_header_languages.tpl on a fresh eZ Publish Community Project install (with eZ Website Interface turned-on).
Tuesday 15 May 2012 10:26:25 am
Indeed the link to switch languages send me to the module "/switchlanguage/to/<siteaccess_name>" but the link i get after that is "/<siteaccess_name>/<nodeid>" (only when there is no transaltion for this object !).
I'am suppose to get something like that "/<siteaccess_name>/content/view/full/<nodeid>".
and thank's for the reply !
You must be logged in to post messages in this topic!