Translation of text in custom templates/translation override

Author Message

Geraint Edwards

Monday 16 May 2005 4:17:08 am

Is there a mechanism for adding translation for text in custom templates or overriding the default translation in some way.

In other words can I create my own translation.ts type files and get an (override) template to refer to these files in order to translate text not included in the distributed translation.ts files?

thanks

Geraint

Geraint Edwards

Tuesday 17 May 2005 1:01:56 am

OK - its probably by using ezlupdate.

I'll give this a go and post again if there are problems.

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:25:12
Script start
Timing: Jan 19 2025 03:25:12
Module start 'layout'
Timing: Jan 19 2025 03:25:12
Module start 'content'
Timing: Jan 19 2025 03:25:14
Module end 'content'
Timing: Jan 19 2025 03:25:14
Script end

Main resources:

Total runtime1.3905 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.6406152.6875
Module start 'layout' 0.00560.0024 742.328139.5234
Module start 'content' 0.00791.3808 781.8516421.7500
Module end 'content' 1.38870.0017 1,203.60168.0781
Script end 1.3905  1,211.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2398160.0002
Check MTime0.00140.1019160.0001
Mysql Total
Database connection0.00080.056710.0008
Mysqli_queries1.351697.2009520.0260
Looping result0.00040.0308500.0000
Template Total1.359797.820.6799
Template load0.00190.136920.0010
Template processing1.357897.648520.6789
Template load and register function0.00010.008110.0001
states
state_id_array0.00100.074710.0010
state_identifier_array0.00160.116620.0008
Override
Cache load0.00150.1077100.0001
Sytem overhead
Fetch class attribute can translate value0.00080.054810.0008
Fetch class attribute name0.00110.078720.0005
XML
Image XML parsing0.00010.007910.0001
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00080.0550100.0001
String conversion0.00000.000540.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs