How to create a translation for my extention?

Author Message

Vincent Saulnier

Friday 17 October 2003 12:25:39 pm

I know what to write in my templates and php files. The only thing is, what do I do to actually create the .ts file?

I know it for a full translation, but not for an extension translation.

Hans Melis

Friday 17 October 2003 12:43:53 pm

It's almost the same command as for a regular translation. The exception being the addition of -e parameter to ezlupdate.

Example:
ezlupdate -e extension/myextension

This will create a translation file for the extension "myextension".

hth

--
Hans

Hans
http://blog.hansmelis.be

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 15:13:12
Script start
Timing: Jan 18 2025 15:13:12
Module start 'layout'
Timing: Jan 18 2025 15:13:12
Module start 'content'
Timing: Jan 18 2025 15:13:13
Module end 'content'
Timing: Jan 18 2025 15:13:13
Script end

Main resources:

Total runtime0.7321 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.0047 589.1641152.6406
Module start 'layout' 0.00470.0023 741.804739.4766
Module start 'content' 0.00700.7238 781.2813519.8203
Module end 'content' 0.73080.0013 1,301.10168.1250
Script end 0.7321  1,309.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.3971160.0002
Check MTime0.00130.1793160.0001
Mysql Total
Database connection0.00070.100110.0007
Mysqli_queries0.694594.8616540.0129
Looping result0.00050.0745520.0000
Template Total0.704896.320.3524
Template load0.00220.294220.0011
Template processing0.702795.974920.3513
Template load and register function0.00020.025810.0002
states
state_id_array0.00100.136410.0010
state_identifier_array0.00080.112920.0004
Override
Cache load0.00170.2359140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.066820.0002
Fetch class attribute name0.00090.123230.0003
XML
Image XML parsing0.00050.073120.0003
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00070.0975150.0000
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
4content/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
2content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs