Making an automated traslation process

Author Message

Jorge estévez

Wednesday 05 May 2010 4:57:28 am

Hello

 

I have exported to an Excel files thousands of nodes and it’s attributes (in columns). The site is getting bigger and bigger so translation process to English/Italian could be tedious as admins will have to go to each node and make proper changes to each language.

 

I would like to:

 

Make the translations in the excel file (adding columns besides the attribute column to be translated), export or build the information in a proper code (XML or else) that some script will read (reading also the mainnode_id) and will go to the node at the database, creates the language version, and changes each attribute value with the new translated one.

 

If someone could point out some information that I can follow to achieve this, please let me know.

 

Thanks

 

By the way the site is built with ezp 3.10.1

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

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

Main resources:

Total runtime0.9300 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.0089 588.0313152.6406
Module start 'layout' 0.00890.0029 740.671939.4609
Module start 'content' 0.01190.9166 780.1328428.7188
Module end 'content' 0.92840.0015 1,208.85168.1563
Script end 0.9299  1,217.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3304160.0002
Check MTime0.00140.1492160.0001
Mysql Total
Database connection0.00500.535210.0050
Mysqli_queries0.884095.0520460.0192
Looping result0.00070.0710440.0000
Template Total0.898096.620.4490
Template load0.00180.191520.0009
Template processing0.896296.368220.4481
Template load and register function0.00020.025410.0002
states
state_id_array0.00070.077510.0007
state_identifier_array0.00220.237420.0011
Override
Cache load0.00140.1543160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.075710.0007
Fetch class attribute name0.00090.094410.0009
XML
Image XML parsing0.00010.013910.0001
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.0669100.0001
String conversion0.00000.001140.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
1content/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: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs