Multilanguage Site Problem

Multilanguage Site Problem

Friday 11 July 2003 7:15:46 am - 4 replies

Author Message

Karsten Jennissen

Friday 11 July 2003 7:26:51 am

Hi Paolo,

you probably have not set up the URL -> siteaccess translation correctly. See this doc:
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/configuration/site_access

You need to write your siteaccess rules in a way that the first part of the URI translates into the siteaccess and the rest to the module + paramenters.

Karsten

PaoloMellerio kk

Friday 11 July 2003 8:48:30 am

Thanks Karsten,

I've followed your suggestion and I modified my site.ini.append.php in the way that follows:

------------------
[SiteAccessSettings]
CheckValidity=false
MatchOrder=uri
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
AvailableSiteAccessList[]=it
AvailableSiteAccessList[]=en
AvailableSiteAccessList[]=sl
AvailableSiteAccessList[]=admin
DebugAccess=enabled

[RegionalSettings]
Locale=ita-IT
ContentObjectLocale=ita-IT
TextTranslation=enabled
TranslationCache=disabled

[ContentSettings]
TranslationList=ita-IT;eng-GB;slo-SL
ViewCaching=disabled
---------------------------

but, in the public site, when I use http://mysite/en and http://mysite/sl only the italian version is shown.... have you got any idea to solve the problem?

Thanks a lot

Paolo

Paolo Mellerio
http://www.clikka.com

Selmah Maxim

Saturday 12 July 2003 6:56:30 am

Hi,,

you need to do this also ..
in settings/site.ini :

[RegionalSettings]
#Locale=eng-GB
#HTTPLocale=
#ContentObjectLocale=eng-GB

then you should make site.ini for each site, lets say for italian :
settings/siteaccess/it/
[RegionalSettings]
Locale=ita-IT
HTTPLocale=it
ContentObjectLocale=ita-IT

PaoloMellerio kk

Monday 14 July 2003 12:12:51 am

Thanks to Karsten e to Maxim :-)
All works fine now and it seems to be cool....

Paolo Mellerio (Clikka!com)

Paolo Mellerio
http://www.clikka.com

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

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