Forums / Setup & design / Multi-lingual site and URLs

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

eZ debug

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

Main resources:

Total runtime0.0215 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.0085 592.9375180.8359
Module start 'content' 0.00850.0068 773.773493.8672
Module end 'content' 0.01530.0061 867.640670.7031
Script end 0.0215  938.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002813.1054120.0002
Check MTime0.00115.2138120.0001
Mysql Total
Database connection0.00135.808310.0013
Mysqli_queries0.003516.139640.0009
Looping result0.00000.101820.0000
Template Total0.005726.710.0057
Template load0.00093.960710.0009
Template processing0.004922.693910.0049
Override
Cache load0.00062.808410.0006
General
dbfile0.00136.0020100.0001
String conversion0.00000.027730.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