Translation of classes, objects and content/design layers

Author Message

no spam

Friday 26 September 2003 1:16:52 am

I have some trouble with this problem:
Where is the right level for translation?
I think that there is a design problem in eZ publish.
In effect you can (partially) translate objects, but non classes.
I have to translate a simple Select (Yes, I do this ...; No I don't) but it seems to be impossible: in the translation interface I see only the two options and I have only to select one in the original language.
I think that the translation now could be made at template level using the Enum Type (template belongs to new extension to have a little translation.ts file) taking care of the enum value with the i18n operator but this seems to be difficult to mantain and seems to break the content/design layers.
I think that "stable" data types should be translated at class level, taking care that the translator can't edit your class.

Any Suggestion?
Thanks in Advance

Daniele

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 02:38:04
Script start
Timing: Jan 19 2025 02:38:04
Module start 'layout'
Timing: Jan 19 2025 02:38:04
Module start 'content'
Timing: Jan 19 2025 02:38:05
Module end 'content'
Timing: Jan 19 2025 02:38:05
Script end

Main resources:

Total runtime1.2805 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.0072 589.4141152.6563
Module start 'layout' 0.00730.0047 742.070339.5078
Module start 'content' 0.01201.2672 781.5781402.0703
Module end 'content' 1.27920.0013 1,183.64848.0938
Script end 1.2805  1,191.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2476160.0002
Check MTime0.00140.1062160.0001
Mysql Total
Database connection0.00080.058610.0008
Mysqli_queries1.244097.1523460.0270
Looping result0.00060.0504440.0000
Template Total1.243797.120.6219
Template load0.00190.145020.0009
Template processing1.241996.981920.6209
Template load and register function0.00020.017310.0002
states
state_id_array0.00130.102010.0013
state_identifier_array0.00150.119720.0008
Override
Cache load0.00150.1172130.0001
Sytem overhead
Fetch class attribute can translate value0.00090.071510.0009
Fetch class attribute name0.00070.053110.0007
XML
Image XML parsing0.00010.007510.0001
class_abstraction
Instantiating content class attribute0.00000.000210.0000
General
dbfile0.00070.0526100.0001
String conversion0.00000.000840.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs