Forums / Setup & design / Multiple language with MatchOrder=host ?
Jeremy B.
Tuesday 16 February 2010 2:12:36 am
Hi !
I'm in trouble with multi sites / multi lang configuration :(
My configuration is like :
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]
HostMatchMapItems[]=mysite.com;com_fre
HostMatchMapItems[]=mysite.ch;ch_fre
But for both "mysite.com" and "mysite.ch", I need to have multiple languages.
I tried for example :
mysite.ch/switchlanguageto/ch_ger
But my siteaccess is still ch_fre. I guess that the mecanism always match the HostMatchMapItems config.
Any clue about how I could have multiple languages with MatchOrder=host ?
Thank you very much in advance :)
Theodoros Papageorgiou
Tuesday 16 February 2010 1:43:27 pm
You can use subdomains:
HostMatchMapItems[]=fre.mysite.com;com_fre HostMatchMapItems[]=ch.mysite.com;ch_freHostMatchMapItems[]=ger.mysite.com;com_ger
WEBWiZ Web Development http://www.webwiz.gr
Wednesday 17 February 2010 12:25:14 am
Indeed Theodoros, thanks for your reply :)
But I finnaly gave a try to this patch :
http://issues.ez.no/IssueView.php?Id=15359&activeItem=3
and it seems to work just fine !