Forums / Install & configuration / Multilingual URLs

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)

eZ debug

Timing: Jan 19 2025 09:52:53
Script start
Timing: Jan 19 2025 09:52:53
Module start 'content'
Timing: Jan 19 2025 09:52:53
Module end 'content'
Timing: Jan 19 2025 09:52:53
Script end

Main resources:

Total runtime0.1608 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 588.9531180.8359
Module start 'content' 0.00690.0056 769.7891102.0078
Module end 'content' 0.01250.1482 871.7969531.2500
Script end 0.1607  1,403.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00392.4015200.0002
Check MTime0.00140.8741200.0001
Mysql Total
Database connection0.00110.674710.0011
Mysqli_queries0.114471.15081410.0008
Looping result0.00140.86551390.0000
Template Total0.147891.910.1478
Template load0.00090.561610.0009
Template processing0.146991.330710.1469
Override
Cache load0.00060.376310.0006
Sytem overhead
Fetch class attribute can translate value0.00080.474610.0008
XML
Image XML parsing0.00040.225610.0004
General
dbfile0.00171.0295200.0001
String conversion0.00000.004230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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