Multilanguage site

One way of setting up a multilingual site is to create one siteaccess for every language. This siteaccess will then set the ContentObjectLocale you want to use for that specific site.

E.g.

ez.no/norwegian ( ContentObjectLocale=nor-NO )

ez.no/english ( ContentObjectLocale=eng-GB )

Exponential will then prefer to show a norwegian translation on the norwegian site. If it does not exist it will show the default translation.

To get the dropdown you only need to link to the same URL, but with a different URL prefix.

This setup works with a 1-1 translation. If you want different content on the different sites you need to build two different directory structures.

Comments

This needs to be expanded

I'm assuming that means that I have two folders within the siteaccess folder, one for English and one for Spanish.

As to "To get the dropdown you only need to link to the same URL, but with a different URL prefix." What dropdown? Link where? Prefix?

Also, "If you want different content on the different sites you need to build two different directory structures." Different directory structures where?

As extensive as the ezP documentation has gotten (I commend the crew for that), the old saying "A picture is worth a thousand words" holds true. For many of the docs I've read, examples with explicit files to modify, etc. would be very helpful.

Thanks.
RWW

Log in or create a user account to comment.

Contents

Configuration

Configuration
    WebDAV setup
    Exponential running on a CGI version o...
    Path prefix
    Locale Settings
    Introduction
    Configuration files
    Site access
    Common settings
    Multi Site
    Directory structure
    Language and charset
       Installing a Language pack
       Multilanguage site
       Unicode with Exponential
       Creating a new translation
       How to setup a Multilingual Site
    Cron jobs
    Login handler
    Search engine
    Tips & Tricks
Security
Optimization
Backup & Restore
Troubleshooting


Created

05/06/2003
1:49:12 pm
by Paul Borgermans

Last updated

04/07/2003
4:24:22 pm
by B�rd Farstad

Authors

Paul Borgermans
B�rd Farstad



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.