custom translation files .ts and ez upgrade

Author Message

Pierre Bastoul

Thursday 10 June 2004 6:56:19 am

Is it possible to modify my ts files using Linguist and upgrade them when a new release appears ? well , I don't want to loose the changes I made.

I wrote i18l with a new context in my templates. This context is used only by one site... is it possible to keep translation for this context in a separate .ts file, other than the standard translation.ts ?

Thanks for your help,

Pierre
odyssee

Mark Kruse

Tuesday 15 June 2004 11:55:38 pm

Hi!

You can make an extension for the translation.

I have read this post http://ez.no/community/forum/developer/anyone_had_luck_with_extension_translation/re_anyone_had_luck_with_extension_translation__4
and did it for myself. It works perfect!

Greetings,

Mark

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 23:04:51
Script start
Timing: Jan 18 2025 23:04:51
Module start 'layout'
Timing: Jan 18 2025 23:04:51
Module start 'content'
Timing: Jan 18 2025 23:04:52
Module end 'content'
Timing: Jan 18 2025 23:04:52
Script end

Main resources:

Total runtime1.3484 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.0074 588.0469152.6406
Module start 'layout' 0.00740.0040 740.687539.4766
Module start 'content' 0.01141.3355 780.1641492.3672
Module end 'content' 1.34690.0015 1,272.53138.1250
Script end 1.3484  1,280.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2441160.0002
Check MTime0.00130.0972160.0001
Mysql Total
Database connection0.00090.067310.0009
Mysqli_queries1.296196.1167540.0240
Looping result0.00070.0483520.0000
Template Total1.293895.920.6469
Template load0.00230.173120.0012
Template processing1.291495.772720.6457
Template load and register function0.00010.009910.0001
states
state_id_array0.00140.105110.0014
state_identifier_array0.00130.097620.0007
Override
Cache load0.00190.1431160.0001
Sytem overhead
Fetch class attribute can translate value0.00050.039120.0003
Fetch class attribute name0.00110.082030.0004
XML
Image XML parsing0.00210.156020.0011
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00680.5046160.0004
String conversion0.00000.000640.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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