Best practice for multilingual websites

Author Message

Greg Lakomy

Tuesday 02 December 2008 12:51:30 pm

Hi,

I'm starting a setup of a new site with multiple languages. So far no problems, I have a base ezwebin install with a selection of few languages. I've setup my site as an extension and added overrides for design and settings files.
I would be interested in hearing any suggestions, tips or any other advice on setting up multilingual website.

Thanks!

Developer
http://www.duoconsulting.com

Piotrek Karaƛ

Saturday 06 December 2008 11:57:11 pm

Basically two approaches work for us:

1) <b>one structure, object translation</b>: for identical/similar structures (20% cases).
2) <b>separate structure subtrees for each language version</b>: for language versions that may differ or are managed by completely different groups of users (80% cases).

Approach 1 works fine since the introduction of multilingual URLs and class translations, but is definitely much more demanding when it comes to end-users.

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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 30 2025 22:23:00
Script start
Timing: Jan 30 2025 22:23:00
Module start 'layout'
Timing: Jan 30 2025 22:23:00
Module start 'content'
Timing: Jan 30 2025 22:23:00
Module end 'content'
Timing: Jan 30 2025 22:23:00
Script end

Main resources:

Total runtime0.0255 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.2266151.2109
Module start 'layout' 0.00570.0039 739.4375220.6875
Module start 'content' 0.00960.0144 960.1250997.7734
Module end 'content' 0.02400.0014 1,957.898429.9922
Script end 0.0255  1,987.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.3648140.0002
Check MTime0.00114.3160140.0001
Mysql Total
Database connection0.00072.720610.0007
Mysqli_queries0.002811.062030.0009
Looping result0.00000.043010.0000
Template Total0.00104.010.0010
Template load0.00083.140310.0008
Template processing0.00020.823410.0002
Override
Cache load0.00052.088810.0005
General
dbfile0.00249.553580.0003
String conversion0.00000.035540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs