multilanguage and url alias

Author Message

SEBBANE Alexandre

Saturday 01 August 2009 3:12:26 pm

hello

i have 2 siteaccess for 2 languages en and fr

how can i have for one node the url_alias in french and in english

Paris, France

Max Keil

Monday 03 August 2009 12:00:40 pm

Did you translated the node?
It should create different aliases for every language!

Or do you want to have the same alias for the both?

in this case you can create a new alias in module: "/content/urltranslator"

Mit freundlichen Grüßen
Best regards

Max Keil

____________________________________________________________
eZ Publish Gold Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

SEBBANE Alexandre

Monday 03 August 2009 12:14:57 pm

Did you translated the node?

yes and i have 2 different title

like for example
/catalogue/produit/ in french
/catalog/product in english.

up to now , in the the french page i have a link to /en/catalogue/produit
and in english, i have /fr/catalog/product/
it is not what i want

my question is how to have in the first one a link to /en/catalog/product in the french page
and in the english a link to /fr/catalogue/produit/.

Paris, France

Peter Keung

Tuesday 04 August 2009 8:45:48 am

If you are using eZ Publish 4.1, you can link to the "switchlanguage/to" view:

http://pubsvn.ez.no/nextgen/stable/4.1/doc/features/4.1/language_switcher.txt

Or you can fetch the node in the desired other language using the new "language_code" parameter:

http://issues.ez.no/13017

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

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 30 2025 19:50:28
Script start
Timing: Jan 30 2025 19:50:28
Module start 'layout'
Timing: Jan 30 2025 19:50:28
Module start 'content'
Timing: Jan 30 2025 19:50:28
Module end 'content'
Timing: Jan 30 2025 19:50:28
Script end

Main resources:

Total runtime0.0266 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 588.1250151.2109
Module start 'layout' 0.00820.0049 739.3359220.6875
Module start 'content' 0.01310.0121 960.02341,001.7578
Module end 'content' 0.02510.0014 1,961.781333.9922
Script end 0.0266  1,995.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003212.1059140.0002
Check MTime0.00114.2620140.0001
Mysql Total
Database connection0.00134.911510.0013
Mysqli_queries0.004717.770930.0016
Looping result0.00000.086010.0000
Template Total0.00103.910.0010
Template load0.00093.209210.0009
Template processing0.00020.653110.0002
Override
Cache load0.00062.288210.0006
General
dbfile0.00031.194380.0000
String conversion0.00000.044840.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