Multi-lingual site and URLs

Author Message

Bjørn Sandvik

Thursday 26 January 2006 5:07:46 am

I'm looking at the webpage http://ez.no/services in different languages

English: http://ez.no/services
German: http://ez.no/de/services
Portuguese: http://ez.no/br/services

I'm making a multi-language site using eZ publish where I would like to use url's like this (in stead of "/de" and "/br"):

English: http://www.domain.org/services
Norwegian: http://www.domain.no/services
Swedish: http://www.domain.se/services
Danish: http://www.domain.dk/services

It this possible in eZ publish?

Is it also possible to have different url's (after the domain) for each language ("/services" is written "/service" in German and "/servicos" in Portuguese)?

http://blog.thematicmapping.org
http://www.globalis.no

André R.

Monday 13 February 2006 7:45:43 am

As you see here:
http://ez.no/community/forum/setup_design/solved_how_do_i_set_up_multiple_languages_on_site

You need one siteaccess pr language.
So yes, you could set it up with different host headers instead of url.

For more info on using MatchOrder=host and HostMatchType=map see the doc!

When it comes to different urls, that's probably possible on elements you translate the short_name.
But I haven't tried it, so just guessing here

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 11:32:39
Script start
Timing: Jan 18 2025 11:32:39
Module start 'layout'
Timing: Jan 18 2025 11:32:39
Module start 'content'
Timing: Jan 18 2025 11:32:41
Module end 'content'
Timing: Jan 18 2025 11:32:41
Script end

Main resources:

Total runtime1.7810 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.9141152.6250
Module start 'layout' 0.00550.0027 740.539139.4453
Module start 'content' 0.00821.7715 779.9844536.5234
Module end 'content' 1.77970.0013 1,316.507812.4766
Script end 1.7810  1,328.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.1736160.0002
Check MTime0.00130.0751160.0001
Mysql Total
Database connection0.00090.050710.0009
Mysqli_queries1.735097.4168540.0321
Looping result0.00050.0288520.0000
Template Total1.747798.120.8738
Template load0.00210.120520.0011
Template processing1.745598.006020.8728
Template load and register function0.00010.006410.0001
states
state_id_array0.00120.064810.0012
state_identifier_array0.00180.102220.0009
Override
Cache load0.00180.1020240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.038920.0003
Fetch class attribute name0.00140.076640.0003
XML
Image XML parsing0.00090.053320.0005
class_abstraction
Instantiating content class attribute0.00000.000340.0000
General
dbfile0.00090.0489230.0000
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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/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: 6

Time used to render debug report: 0.0001 secs