Multi-Language problems (basic)

Author Message

Clemens T

Sunday 12 March 2006 12:27:13 pm

Heya all,

I'm currently trying to make my website multi-language. In my first attempt I'm translating all the content objects. But, now I want to be able to view them on the visitor's site.

Here's my problem:

Usually you get this:

http://develop.blabla.com/plain/content/view/full/174/language/eng-GB

but this url also works (user-friendly url) and points to the same page:
http://develop.blabla.com/plain/standaard/

How can I make sure the user-friendly url can still exist WITH the language eng-GB.

If I try this:

http://develop.blabla.com/plain/standaard/language/eng-GB

I get this error:
Error: index
Undefined module: standaard

so.. question is:

Is it possible for me to keep the user-friendly url AND enable multiple-languages in my website.

Thanks for any pointers,
Clemens

Xavier Dutoit

Sunday 12 March 2006 11:10:05 pm

url/(language)/eng-GB

X+

http://www.sydesy.com

Clemens T

Monday 13 March 2006 2:35:17 am

Thanks a lot, that fixed it!

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 20 2025 23:20:44
Script start
Timing: Jan 20 2025 23:20:44
Module start 'layout'
Timing: Jan 20 2025 23:20:44
Module start 'content'
Timing: Jan 20 2025 23:20:45
Module end 'content'
Timing: Jan 20 2025 23:20:45
Script end

Main resources:

Total runtime1.0774 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 592.0625151.2109
Module start 'layout' 0.00470.0029 743.273436.6484
Module start 'content' 0.00761.0691 779.9219554.6094
Module end 'content' 1.07670.0007 1,334.53137.8516
Script end 1.0774  1,342.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.2599160.0002
Check MTime0.00110.1063160.0001
Mysql Total
Database connection0.00070.068210.0007
Mysqli_queries1.039696.4856570.0182
Looping result0.00050.0419550.0000
Template Total1.049897.420.5249
Template load0.00190.173320.0009
Template processing1.047997.260220.5240
Template load and register function0.00020.014210.0002
states
state_id_array0.00100.091110.0010
state_identifier_array0.00090.080720.0004
Override
Cache load0.00160.1485260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.053020.0003
Fetch class attribute name0.00120.109040.0003
XML
Image XML parsing0.00060.055020.0003
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00080.0717160.0000
String conversion0.00000.000640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs