Forums / Suggestions / URL aliases - multi lingual

URL aliases - multi lingual

Author Message

J-A Eberhard

Monday 16 October 2006 9:02:12 am

Hi,

I was reading this http://ez.no/community/developer/specs/improved_multi_language_in_ez_publish_rev_2

on the topic of URL aliases it says "Update 4.april.2006: Due to technical issues this feature did not make it into eZ publish 3.8."

What is the current status?

Thanks

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

Matthew Carroll

Sunday 12 November 2006 5:18:34 pm

It's in the latest 3.9 specification, see the specs .pdf, page 19:

http://ez.no/community/developer/specs/feature_request_list_for_ez_publish_3_9

...I suppose we just have to hope it isn't dropped again.

Matthew

http://carroll.org.uk

Matthew Carroll

Sunday 12 November 2006 9:02:26 pm

Hmm... doesn't look like there's any mention of it in the new feature documentation in snv:
http://pubsvn.ez.no/nextgen/trunk/doc/features/3.9/

I'd be interested to hear from any ez devs: can we expect to see this in 3.9?

Matthew

http://carroll.org.uk

Xavier Dutoit

Monday 13 November 2006 1:56:33 am

Hi,

From what I've seen, that's been dropped again.

X+

http://www.sydesy.com

Matthew Carroll

Tuesday 21 November 2006 1:38:07 pm

How frustrating. I actually found it quite embarrassing after building a large 4-language site for an international network, having to explain to the organisation why they needed to put 'English' urls on press releases in Portuguese, etc, if they wanted to direct people to any page except the front of the site.

The strange thing is, it's not listed in the feature list under either 'done' or 'skipped' - it just seems to have vanished.

http://ez.no/community/developer/roadmap/ez_publish_3_9

I would have thought that after being skipped in 3.8 for technical reasons, and listed in the feature list for 3.9 it should have been a 'priority 1' task this time round. If it has been skipped (which seems very likely now 3.9 is at release-candidate stage) my feeling is that it should at least be listed as 'skipped', priority [1], so it isn't missed next time round.

Matthew

http://carroll.org.uk

Xavier Dutoit

Wednesday 22 November 2006 1:13:52 am

Hi,

Agree with you. Fill a bug report.

X+

http://www.sydesy.com

Matthew Carroll

Thursday 23 November 2006 4:14:31 pm

I found an existing feature request so I've bumped that with a comment:

http://issues.ez.no/8886

Any response from the ez crew about what happened to this feature?

Thanks
Matthew

http://carroll.org.uk

Laurent BOURREL

Friday 22 December 2006 3:12:15 am

Hi,

No news from the ez crew about this subject ?

Even in the bug report, there's no answer about why it is so complicated...

Does someone has an idea of a hack to implement this ? Perhaps using a filter design pattern like in J2EE to change the aliases on the fly ?

Thanks for your ideas !

Matthew Carroll

Friday 22 December 2006 2:08:42 pm

Hi Laurent

As well as bumping the bug report, I also asked about this on the eZ publish development list. The only answer so far:

"A more detailed explanation of this issue will follow in the coming
days."

http://lists.ez.no/pipermail/sdk-public/2006-December/002513.html

Matthew

http://carroll.org.uk

Xavier Dutoit

Friday 22 December 2006 10:38:56 pm

May santa clauEz offers us the answer by Xmas ;)

X+

http://www.sydesy.com

Jan Borsodi

Friday 05 January 2007 6:25:13 am

I've added a comment on the bug report explaining the issue.
http://issues.ez.no/IssueView.php?Id=8886

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Xavier Dutoit

Monday 22 January 2007 11:32:53 pm

Hi Jan,

From a technical point of view, your answer makes perfectly sense. However, based on what we've seen on real situations, you can add assume quite a few things to simplify:

1) You don't add languages on a daily basis on sites. That's more or less defined since the beginning, and if you add a language, running a big long script to update everything isn't a big problem, and way less than having to find translators ;)

2) The content is not translated issue and language preferences order. (keep in mind that you won't change the priority order, and if you do, running a script isn't a big deal).

More over, you won't have 3 site access in norvegian with different language priorities. Therefore, you can safely assume that for each single object, you only have one url per language, hence only 4 for ez.no for instance.

About the optimisations you mention, wouldn't it be possible by storing 4 time more urls to keep them and not overcomplicate the system ?

Saying that you have one url per language of the object (independent of the site accesses) is not perfect, but it's way better than one url for all the languages, isn't it?

X+

http://www.sydesy.com

eZ debug

Timing: Jan 18 2025 04:14:45
Script start
Timing: Jan 18 2025 04:14:45
Module start 'content'
Timing: Jan 18 2025 04:14:46
Module end 'content'
Timing: Jan 18 2025 04:14:46
Script end

Main resources:

Total runtime0.7076 sec
Peak memory usage4,096.0000 KB
Database Queries227

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0095 588.8281180.8359
Module start 'content' 0.00950.5494 769.6641769.8359
Module end 'content' 0.55890.1487 1,539.5000355.1172
Script end 0.7075  1,894.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00500.7113210.0002
Check MTime0.00170.2442210.0001
Mysql Total
Database connection0.00140.202910.0014
Mysqli_queries0.583182.41202270.0026
Looping result0.00320.45832250.0000
Template Total0.667494.320.3337
Template load0.00230.322120.0011
Template processing0.665193.999020.3326
Template load and register function0.00010.012810.0001
states
state_id_array0.00150.215510.0015
state_identifier_array0.00130.189720.0007
Override
Cache load0.00220.3050770.0000
Sytem overhead
Fetch class attribute can translate value0.00160.220560.0003
Fetch class attribute name0.00160.2221160.0001
XML
Image XML parsing0.00260.369760.0004
class_abstraction
Instantiating content class attribute0.00010.0075230.0000
General
dbfile0.00330.4600450.0001
String conversion0.00000.000830.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
11content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 43
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs