Howto get a specific language version of a node

Author Message

Christian Rytter

Wednesday 07 April 2004 6:59:53 am

Hi

I have browsed all the information available on the site, regarding how to get a specific translation of a node object. Basically, what I wish to do, is to create a download page with a set of files. The template is there and so is the files. Next, I need to support different languages of each version. Well, how tough can it be? Just use the builtin language system. So I created a file with two languages (and two different file names). Everything is fine, but how do I retrieve a specific file in a specific version? I have been told, that this should be possible through:

http://ezwww.volund.dk/content/view/full/270/dan-DK

Where dan-DK specifies the language, but I dont get any different data. So, the question is, how to do it? I could possibly be reading a the wrong data, I dont know.. Anyways, anyone help would be greatly appreciated.

Best Regards,

Christian Rytter

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 18 2025 21:14:20
Script start
Timing: Jan 18 2025 21:14:20
Module start 'layout'
Timing: Jan 18 2025 21:14:20
Module start 'content'
Timing: Jan 18 2025 21:14:20
Module end 'content'
Timing: Jan 18 2025 21:14:20
Script end

Main resources:

Total runtime0.0283 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.0089 588.0469152.6406
Module start 'layout' 0.00890.0037 740.687539.4766
Module start 'content' 0.01260.0134 780.164185.1641
Module end 'content' 0.02600.0022 865.328130.3047
Script end 0.0282  895.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00279.7043140.0002
Check MTime0.00124.3127140.0001
Mysql Total
Database connection0.00103.686010.0010
Mysqli_queries0.005619.818530.0019
Looping result0.00000.056510.0000
Template Total0.00186.310.0018
Template load0.00103.541810.0010
Template processing0.00082.692410.0008
Override
Cache load0.00072.550710.0007
General
dbfile0.00020.870580.0000
String conversion0.00000.044740.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.0002 secs