3.8 mulilingual new features? Is TranslationList still used?

Author Message

Fabio Carissimi

Tuesday 23 May 2006 9:13:39 am

Hello,

can somebody give more explanations than in this spec :http://pubsvn.ez.no/nextgen/trunk/doc/features/3.8/multi-language_features.txt

about the multilingual support in 3.8. in particular, is TranslationList ([ContentSettings]) still useful ?

Now in 3.8, there is SiteLanguageList[] ([RegionalSettings] and it seems to be the same information.

only these settings are necessary

[RegionalSettings]
Locale=fre-FR
ContentObjectLocale=fre-FR

SiteLanguageList[]
SiteLanguageList[]=fre-FR
SiteLanguageList[]=eng-GB
SiteLanguageList[]=ita-IT

or this one is also still needed ?

[ContentSettings]
TranslationList=eng-GB;fre-FR

Thanks for help

Björn Dieding@xrow.de

Tuesday 23 May 2006 11:27:15 am

I say no

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Fabio Carissimi

Friday 26 May 2006 1:35:01 am

Thanks for this clear answer,

but do you know more about 3.8 multilingual features,
for example it is said that we can change prioritized languages with something like that :

$languages = array( 'nor-NO', 'eng-GB' );
eZContentLanguage::setPrioritizedLanguages( $languages );

I tried this code in index.php, and I have an error, do you know how to use it ?

Many thanks.

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

eZ debug

Timing: Jan 18 2025 22:13:49
Script start
Timing: Jan 18 2025 22:13:49
Module start 'layout'
Timing: Jan 18 2025 22:13:49
Module start 'content'
Timing: Jan 18 2025 22:13:49
Module end 'content'
Timing: Jan 18 2025 22:13:49
Script end

Main resources:

Total runtime0.6018 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1719152.6563
Module start 'layout' 0.00470.0029 740.828139.5078
Module start 'content' 0.00760.5926 780.3359534.3672
Module end 'content' 0.60020.0015 1,314.703112.4063
Script end 0.6018  1,327.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5205160.0002
Check MTime0.00130.2208160.0001
Mysql Total
Database connection0.00080.125610.0008
Mysqli_queries0.553191.8966570.0097
Looping result0.00060.0970550.0000
Template Total0.570394.820.2852
Template load0.00240.401620.0012
Template processing0.567994.363420.2840
Template load and register function0.00020.028410.0002
states
state_id_array0.00090.141910.0009
state_identifier_array0.00200.336320.0010
Override
Cache load0.00200.3329220.0001
Sytem overhead
Fetch class attribute can translate value0.00060.103320.0003
Fetch class attribute name0.00340.562640.0008
XML
Image XML parsing0.00060.096420.0003
class_abstraction
Instantiating content class attribute0.00000.002440.0000
General
dbfile0.00070.1211160.0000
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs