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

eZ debug

Timing: Jan 28 2025 14:32:18
Script start
Timing: Jan 28 2025 14:32:18
Module start 'content'
Timing: Jan 28 2025 14:32:18
Module end 'content'
Timing: Jan 28 2025 14:32:18
Script end

Main resources:

Total runtime0.0199 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 595.1328180.8047
Module start 'content' 0.00600.0065 775.937593.8828
Module end 'content' 0.01250.0073 869.820370.7031
Script end 0.0198  940.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002110.3999120.0002
Check MTime0.00104.8741120.0001
Mysql Total
Database connection0.00073.417110.0007
Mysqli_queries0.004221.306740.0011
Looping result0.00000.134220.0000
Template Total0.006934.610.0069
Template load0.00104.974710.0010
Template processing0.005929.639810.0059
Override
Cache load0.00063.251810.0006
General
dbfile0.003919.4124100.0004
String conversion0.00000.019230.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs