Forums / Install & configuration / Updatemultilingual.php and existing translations

Updatemultilingual.php and existing translations

Author Message

Daniel Arnrup-Øien

Thursday 10 August 2006 4:03:22 am

EDIT: Problem below was solved by updating regional settings (SiteLanguageList) BEFORE running updatemultilingual.php.

---------------------------------------------------------------------------------------------------------------------

I have upgraded an eZ Publish 3.6.6 installation to 3.8.3. The site is multilingual (English and Norwegian) and most (but not all) pages exist in both languages.

The sql database update script ran fine. The updatemultilingual.php also script executes fine (and it does identify nor-NO and en-GB as the two working languages of the site), but fails to keep the existing translations. They are apparently still in the database but both nor-NO and eng-GB versions of an object are set to eng-GB. In the translation box an object is listed as having two translations, but only the eng-GB version is visible (see pic below).

http://www.svenskefaen.com/translations.jpg

The regional settings for the siteaccess are updated with the new parameters (SiteLanguageList) and ShowUntranslatedObjects is enabled.

All objects are listed under the section view, but when trying to access a Norwegian object, I get either an English translation (for an object that exists in both languages) or a kernel(3) error (for an object that exists only in Norwegian).

Any ideas on what is wrong?

Daniel A. Øien
Open Concept SA, Norway
Web: http://openconcept.no/
In English: http://openconcept.no/eng