Forums / Developer / [Multilangue] N siteAccess

[Multilangue] N siteAccess

Author Message

Sébastien Morel

Tuesday 07 November 2006 2:15:31 am

Hello,

I'm creating an eZpublish website with N language of Content.

I have to create one siteaccess per language ( It's Ok ? I have to create X siteAccess ???)

My Problem is : when I create an override, it will create in ONE siteaccess and not in all siteAccess related of all language...

How do create an override for several siteaccess in ONE time ? Is it possible ?

I have the idea to create a Symbolic Link between the override.ini file, is it a good solution ?

The other solution it's copy/paste the override.ini after creating each override, but isn't fun ;)

Thanks

Sébastien

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)

Claudia Kosny

Tuesday 07 November 2006 11:26:42 am

Hi Sebastien

Unless you hack some files you have to use one siteaccess per language as the site.ini is the only way to tell ez which language to use and the site.ini allows only for one (main) language.

If you put the override settings in the general override directory they will be valid for <b>all</b> siteaccesses, including the admin siteaccess which is usually not desired. Therefore you really need a override.ini for each user siteaccess.

Using symlinks certainly sounds good, I haven't tried it yet. If that does not work I would write a small extension that copies the override.ini of the current siteaccess to all other siteaccesses. Then you just have to call up this script after you have made some changes to the ini file.

Greetings from Luxembourg

Claudia

Vicente Olivan

Wednesday 08 November 2006 1:51:17 am

Each language is necessary to create different siteaccesses and to establish the number, priority… to see:

http://ez.no/products/ez_publish/documentation/ez_publish_basics/content_management_in_ez_publish/support_for_multiple_languages

http://ez.no/products/ez_publish/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site

http://ez.no/products/ez_publish/documentation/configuration/configuration/language_and_charset/multilanguage_site

Sébastien Morel

Wednesday 08 November 2006 7:25:47 am

Ok,

Thanks for your anwsers ;)

--
eZ c'est plus fort que toi !
http://www.ez-france.org
http://blog.plopix.net
@Novactive (http://www.novactive.com)