Translation

Author Message

Carlos Revillo

Monday 07 November 2005 10:13:14 am

Hi. I've got a site with two language (spanish and english). But i have not all the content translated to english. i'm trying to work with simetric translations. i mean. there is a english flag and when i click it i want to go to the english version of the node. But i also want not to show the english flag when i haven't the english content for a node...

Any ideas about how i could do that?

Björn Dieding@xrow.de

Monday 07 November 2005 6:47:38 pm

If you have english as the base language. You will have to wait for eZ publish 3.8...

I have heard rumors about it should be released feb/march 2006

If english is not your first language you can check upon the translation_list array...

{$node.object.translation_list|attribute(show,2)}

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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

Main resources:

Total runtime0.8645 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.0234152.6094
Module start 'layout' 0.00560.0032 741.632839.3984
Module start 'content' 0.00880.8543 781.0313519.1563
Module end 'content' 0.86310.0014 1,300.18758.2031
Script end 0.8645  1,308.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3930160.0002
Check MTime0.00140.1660160.0001
Mysql Total
Database connection0.00070.086510.0007
Mysqli_queries0.823695.2640540.0153
Looping result0.00040.0509520.0000
Template Total0.836396.720.4181
Template load0.00220.252620.0011
Template processing0.834196.478420.4170
Template load and register function0.00030.030010.0003
states
state_id_array0.00080.088410.0008
state_identifier_array0.00070.077820.0003
Override
Cache load0.00180.2065110.0002
Sytem overhead
Fetch class attribute can translate value0.00090.109220.0005
Fetch class attribute name0.00110.129930.0004
XML
Image XML parsing0.00060.073920.0003
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00090.1072160.0001
String conversion0.00000.000940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs