Multilingual URLs

Author Message

J-A Eberhard

Friday 10 June 2005 2:01:39 am

I have a multilingual portal under eZ 3.6. with virtual URLs.
It working fine but I have a problem as the URL name are not translated.
I have www.mysite.com/de/contact will show the German translation. The name of the links are the german object name but the underlying URL will be the english one with the /de/ prefix.
override/site.ini

[ContentSettings]
StaticCache=enabled
TranslationList=eng-GB;fre-FR;ger-DE;ita-IT

[SiteAccessSettings]
CheckValidity=false
MatchOrder=uri
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
AvailableSiteAccessList[]=portal
AvailableSiteAccessList[]=en
AvailableSiteAccessList[]=fr
AvailableSiteAccessList[]=it
AvailableSiteAccessList[]=de
AvailableSiteAccessList[]=private

I have a siteaccess for each one (portal, en, it, fr , de) with this in site.ini (siteaccess/de/site.ini)

[DesignSettings]
SiteDesign=corporate
AdditionalSiteDesignList[]=base

[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
# TextTranslation=disabled
HTTPLocale=de

[FileSettings]
VarDir=var/corporate

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

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Xavier Dutoit

Friday 10 June 2005 6:35:03 am

Hi,

That's related to a comment I made on this spec I think: http://www.ez.no/community/developer/specs/improved_content_multilangue_support

Kåre Køhler Høvik said "Nice urls - Good idea, I'll see if it's possible to do what you suggest."

No news since then.

Kåre, could you update us ?

X+

http://www.sydesy.com

J-A Eberhard

Friday 10 June 2005 7:05:28 am

Hi,
I read the specs and the comments. It's look like this is not yet implemented as I checked the ez.no website. If I go to the german par in 'Standardlösungen und Software' the URL is http://ez.no/de/solutions/solutions_and_software
Checked fast.no and it's the same.
eZ team, what's the status and plan on this?
Thanks

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Kåre Køhler Høvik

Friday 10 June 2005 7:36:06 am

The translation patch is almost finnished, but multilingual URL support has not been implemented yet. I'm not sure when it will be done, but it'll probably be included in 3.7.

If you need a patch for 3.6, I suggest you contact support, http://ez.no/services/support .

Kåre Høvik

Xavier Dutoit

Friday 10 June 2005 8:57:12 am

Thanks for the feedback Kare,

Is that going to be patched to 3.5.3 too ?

X+

http://www.sydesy.com

Frederik Holljen

Friday 10 June 2005 11:15:54 am

The minor releases (usually) only contain bugfixes. New functionality goes into the major releases (in this case 3.7)

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:09:51
Script start
Timing: Jan 18 2025 22:09:51
Module start 'layout'
Timing: Jan 18 2025 22:09:51
Module start 'content'
Timing: Jan 18 2025 22:09:52
Module end 'content'
Timing: Jan 18 2025 22:09:52
Script end

Main resources:

Total runtime1.3797 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.0469152.6250
Module start 'layout' 0.00710.0030 741.671939.4453
Module start 'content' 0.01011.3684 781.1172662.6719
Module end 'content' 1.37850.0012 1,443.789116.1719
Script end 1.3797  1,459.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2487160.0002
Check MTime0.00140.1051160.0001
Mysql Total
Database connection0.00070.053610.0007
Mysqli_queries1.302494.3943700.0186
Looping result0.00080.0601680.0000
Template Total1.323695.920.6618
Template load0.00300.215820.0015
Template processing1.320695.714220.6603
Template load and register function0.00010.007110.0001
states
state_id_array0.00280.204010.0028
state_identifier_array0.00110.078120.0005
Override
Cache load0.00170.1261380.0000
Sytem overhead
Fetch class attribute can translate value0.00060.045440.0002
Fetch class attribute name0.00190.1374100.0002
XML
Image XML parsing0.00170.125740.0004
class_abstraction
Instantiating content class attribute0.00000.0016120.0000
General
dbfile0.00790.5724320.0002
String conversion0.00000.000740.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs