Real multilingual site

Author Message

alvaro alvaro

Monday 29 May 2006 7:01:14 am

Do you have a tutorial or little guide of how to configure Ez Publish 3.8 to run a multilingual site?

I would like to get urls like

domain.com/es/content01
domain.com/en/content01

Pointing to the same but translated content.

I see i can translate from control panel, but then use a /(language)/en-ENG or something

similar, i dont like that in the url.

Thx.

Ɓukasz Serwatka

Tuesday 30 May 2006 11:52:40 pm

alvaro, hello and welcome to the eZ publish Community!

Good tutorial how to setup multlingual site you can find here:
http://ez.no/products/ez_publish/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site

More:
http://ez.no/community/forum/install_configuration/i_really_need_a_step_by_step_guide_on_how_to_setup_a_multilingual_site
http://ez.no/community/forum/developer/multilingual_site_images

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Fabio Carissimi

Wednesday 31 May 2006 1:17:08 am

Hello,

ok for this method explained for previous versions of eZ publish (3.1+).
but how about eZ publish 3.8 ?

in the specification (cf http://pubsvn.ez.no/nextgen/trunk...ures/3.8/multi-language_features.txt),

it is said that we can change prioritized languages with something like that :

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

How can I use this code ?

Does eZ publish 3.8 allow me to have only one siteaccess for many languages ?

thanks for eZ crew answer.

Daniele Nocentini

Wednesday 31 May 2006 12:29:19 pm

How we can change the available languages from url?

Antica Bottega Digitale srl
http://www.abd.it

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:39:59
Script start
Timing: Jan 18 2025 22:39:59
Module start 'layout'
Timing: Jan 18 2025 22:39:59
Module start 'content'
Timing: Jan 18 2025 22:40:01
Module end 'content'
Timing: Jan 18 2025 22:40:01
Script end

Main resources:

Total runtime1.4395 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.0234152.6250
Module start 'layout' 0.00530.0033 741.648439.4453
Module start 'content' 0.00861.4290 781.0938627.8281
Module end 'content' 1.43760.0019 1,408.921912.1719
Script end 1.4395  1,421.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2380160.0002
Check MTime0.00140.0970160.0001
Mysql Total
Database connection0.00090.065610.0009
Mysqli_queries1.370995.2361640.0214
Looping result0.00070.0511620.0000
Template Total1.409397.920.7046
Template load0.00200.140320.0010
Template processing1.407297.759720.7036
Template load and register function0.00020.012410.0002
states
state_id_array0.00110.077210.0011
state_identifier_array0.00230.163020.0012
Override
Cache load0.00170.1149330.0001
Sytem overhead
Fetch class attribute can translate value0.00070.047440.0002
Fetch class attribute name0.00100.072360.0002
XML
Image XML parsing0.00230.163040.0006
class_abstraction
Instantiating content class attribute0.00000.000960.0000
General
dbfile0.00170.1184240.0001
String conversion0.00000.000440.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0004 secs