Strange multilingual problem

Author Message

Sander van den Akker

Tuesday 05 April 2011 2:23:27 am

Hi there! I am scratching my head over a strange multilingual problem. The case is as follows:

I have set up a site with three languages: eng-GB, dut-NL and ger-DE, all with separate domains. When I visit each domain the templates are translated correctly, but the content objects are always shown in the main language (eng-GB).

I thought it had something to do with the locale setting, but ezini( 'RegionalSettings', 'ContentObjectLocale' ) outputs the correct locale for each siteaccess. The objects are also translated in all languages in the admin interface.

Anyone got a clue where to look next?

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Sander van den Akker

Tuesday 05 April 2011 2:59:28 am

I found out the first set language in RegionalSettings / SiteLanguageList is shown. This array was in my override/site.ini, which explains that always the same language is shown. When I moved the array to the siteaccess/site.ini's and altered the priority for each access the problem was solved.

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

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