Disabling fallback translation

Author Message

Vjeran Vlahovic

Monday 01 November 2004 10:23:55 am

After 2 months of ez publish studying I have successfully setup a multilanguage pilot site on 3.4.1, following the steps in ezp documentation and few posts on this forum. Still, one more important issue has to be solved regarding multilanguage support. As it's almost impossible to have all the content translated into second language and content fallback to primary language looks pretty silly in my case, I decided to drop out untranslated objects and need directions and suggestions how to do it. Could this be done trough fetchalias.ini.append.php or attribute_filter and how or is there a better way?

I managed to do some primitive filtering of objects during display loops
by comparing $node.object.default_language and $child.object.data_map.name.language_code but I'm quite unsatisfied with solution (and google navigator doesn't work well too :-)).

Any suggestion appreciated. Thanks!

http://www.netgen.hr/eng

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 15:21:56
Script start
Timing: Jan 19 2025 15:21:56
Module start 'layout'
Timing: Jan 19 2025 15:21:56
Module start 'content'
Timing: Jan 19 2025 15:21:56
Module end 'content'
Timing: Jan 19 2025 15:21:56
Script end

Main resources:

Total runtime0.7251 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.1563152.6250
Module start 'layout' 0.00470.0024 741.781339.4453
Module start 'content' 0.00710.7168 781.2266467.0078
Module end 'content' 0.72390.0012 1,248.23448.1641
Script end 0.7251  1,256.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4040160.0002
Check MTime0.00120.1665160.0001
Mysql Total
Database connection0.00070.096310.0007
Mysqli_queries0.690495.2164460.0150
Looping result0.00030.0362440.0000
Template Total0.701296.720.3506
Template load0.00170.233220.0008
Template processing0.699596.462420.3497
Template load and register function0.00010.018210.0001
states
state_id_array0.00070.090210.0007
state_identifier_array0.00060.080320.0003
Override
Cache load0.00130.185680.0002
Sytem overhead
Fetch class attribute can translate value0.00050.071010.0005
Fetch class attribute name0.00040.058420.0002
XML
Image XML parsing0.00210.293910.0021
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00300.4188170.0002
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 6

Time used to render debug report: 0.0001 secs