translating class fields

Author Message

Amina Bacar

Wednesday 21 April 2004 2:19:01 am

Hi

How can I translate fields of a class that i created?

Thanks in advance.

Amina.

Jan Borsodi

Tuesday 27 April 2004 4:52:34 am

Sorry, this is not possible at the moment.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Silke Fox

Tuesday 27 April 2004 6:18:52 am

Hi Amina,

maybe this is a useful workaround for you...

Create a dummy template and add the class attribute identifiers you want to translate.
You can then use the standard translation stuff - ezlupdate will add these words to your
.ts file; translate them and use the i18n operator in your templates.

Silke

Amina Bacar

Saturday 01 May 2004 5:52:36 am

Hi Silke,

I did I was hopping there was an easier way.

Thanks.

Amina.

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 16:00:56
Script start
Timing: Jan 18 2025 16:00:56
Module start 'layout'
Timing: Jan 18 2025 16:00:56
Module start 'content'
Timing: Jan 18 2025 16:00:57
Module end 'content'
Timing: Jan 18 2025 16:00:57
Script end

Main resources:

Total runtime1.2004 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.9375152.6250
Module start 'layout' 0.00550.0030 740.562539.4453
Module start 'content' 0.00851.1906 780.0078570.5156
Module end 'content' 1.19910.0013 1,350.523412.1641
Script end 1.2004  1,362.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2545160.0002
Check MTime0.00130.1090160.0001
Mysql Total
Database connection0.00090.072610.0009
Mysqli_queries1.151995.9626620.0186
Looping result0.00060.0469600.0000
Template Total1.167997.320.5840
Template load0.00230.191320.0011
Template processing1.165697.102520.5828
Template load and register function0.00010.012210.0001
states
state_id_array0.00180.145910.0018
state_identifier_array0.00140.119520.0007
Override
Cache load0.00200.1628220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.062430.0002
Fetch class attribute name0.00100.079550.0002
XML
Image XML parsing0.00080.065930.0003
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00140.1191170.0001
String conversion0.00000.000740.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs