trouble with language switcher and 3-language setup

Author Message

Don Blogger

Wednesday 30 December 2009 12:12:15 pm

Hi,

I've set up three site accesses for German, English Spanish (de, en, es) - the setup is via URLs, which means domain.com/de points to the German, domain.com/en to the English, etc.

My match settins are as follows:

MatchOrder=uri;host;
HostMatchMapItems[]=admin.domain.com;ezwebin_site_clean_admin
HostMatchMapItems[]=domain.com;es
URIMatchType=map
URIMatchMapItems[]=es;es
URIMatchMapItems[]=de;de
URIMatchMapItems[]=en;en

The initial match setting sets the Spanish siteaccess as the default siteaccess.

Switching between languages with the default flag template works perfectly, except that when switching to Spanish, I'm forwarded to domain.com/es in contrary to the expected domain.com.

Is there a way to manipulate the language switcher having it leave out the language directory for Spanish?

Thank you very much in advance and have a great New Year!

DB

Robin Muilwijk

Friday 08 January 2010 1:39:49 am

Hi,

Read the following article where it is explained how to remove the language part for the default siteaccess; http://share.ez.no/articles/ez-publish/how-to-configure-an-ez-publish-site/(page)/3

Also make sure to read page 5, where Peter explains how to adjust the language urls, it is at the bottom of page 5.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.