Multilingual Virtual URL

Author Message

Neven Susa

Wednesday 13 June 2007 4:59:21 pm

I'm wondering is it possible to have nice URLs for nodes for each language the node is published in?

I have override/site.ini is configured like following:
[URLTranslator]
Translation=enabled
[SiteAccessSettings]
MatchOrder=uri
ForceVirtualHost=false

I extract $node.url_alias with ezurl function.
Links for changing language on page work fine, content of nodes is translated appropriately.
(read in documentation somewhere):
'nice_url' is created automaticaly by the system each time the object is published.
What concerns me is next: why is nice_url created <i>only</i> for the language that is <i>first</i> published?

I also tryed to create alternative virtual URL with admin URL Translator. This works fine, if i enter address manualy, but is not of use now.

<i>Example</i>
What I have:
http://<host>/index.php/hrv/usluge
http://<host>/index.php/eng/usluge

What I want:
http://<host>/index.php/hrv/usluge
http://<host>/index.php/eng/services

I read folowing topics on the theme:
http://ez.no/community/forum/install_configuration/multilingual_urls
http://ez.no/community/developer/specs/improved_content_multilangue_support
<quotes> from these topics (by ez system crew guys):
"The <Content Node>.url_alias will return the nice url for the language <Content Node> is in."
"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."

It seems these topics are talking about my problem, but i can't figure if this functionality is implemented yet.
If it is, what i have to do to get it work?

Bruce Morrison

Wednesday 13 June 2007 5:44:13 pm

Hi Neven

Looks like it will be in 3.10
http://ez.no/ezpublish/roadmap

http://issues.ez.no/IssueView.php?Id=10053&activeItem=6&rv[]=573&rm=1&column=8&sortOrder=4

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

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 19 2025 03:21:38
Script start
Timing: Jan 19 2025 03:21:38
Module start 'layout'
Timing: Jan 19 2025 03:21:38
Module start 'content'
Timing: Jan 19 2025 03:21:38
Module end 'content'
Timing: Jan 19 2025 03:21:38
Script end

Main resources:

Total runtime0.0305 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0095 589.1797152.6250
Module start 'layout' 0.00950.0037 741.804739.4453
Module start 'content' 0.01320.0146 781.250089.3516
Module end 'content' 0.02780.0026 870.601634.3047
Script end 0.0304  904.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00299.5287140.0002
Check MTime0.00123.9103140.0001
Mysql Total
Database connection0.00216.865710.0021
Mysqli_queries0.004213.924630.0014
Looping result0.00000.062610.0000
Template Total0.00206.410.0020
Template load0.00113.595110.0011
Template processing0.00092.794310.0009
Override
Cache load0.00082.591810.0008
General
dbfile0.004916.011280.0006
String conversion0.00000.033640.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.0001 secs