Translation *.ts PHP API

Author Message

Piotrek Karaƛ

Tuesday 20 October 2009 5:33:10 pm

Hello,

Is there any PHP API for simple handling *.ts files, without binding it to cache and other subsystems? By simple handling I mean: read *.ts, manipulate contexts and entries, write back.

It's easy enough to provide my own, but it would be safer to go with a built-in one...

Thanks,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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

Main resources:

Total runtime0.6817 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.0060 587.9063152.6250
Module start 'layout' 0.00600.0033 740.531339.4453
Module start 'content' 0.00920.6709 779.9766467.7969
Module end 'content' 0.68010.0016 1,247.77348.1797
Script end 0.6817  1,255.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5174160.0002
Check MTime0.00160.2412160.0001
Mysql Total
Database connection0.00100.152610.0010
Mysqli_queries0.639393.7713460.0139
Looping result0.00050.0677440.0000
Template Total0.651795.620.3259
Template load0.00180.262620.0009
Template processing0.649995.336520.3250
Template load and register function0.00010.015110.0001
states
state_id_array0.00080.123910.0008
state_identifier_array0.00080.121620.0004
Override
Cache load0.00140.200090.0002
Sytem overhead
Fetch class attribute can translate value0.00080.122310.0008
Fetch class attribute name0.00120.170920.0006
XML
Image XML parsing0.00050.075510.0005
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00250.3671170.0001
String conversion0.00000.001340.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 7
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs