Copy content-structure from one language to another

Author Message

Felix Laate

Friday 22 April 2005 3:53:32 am

Hi all!

Here's todays question for you all: is it possible to "copy" the complete content of a site (that has been published as norwegian when it in fact was english) from one language to another?

felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Ɓukasz Serwatka

Monday 25 April 2005 12:11:55 am

Hi Felix,

There is no "button" in eZ publish to "copy the complete content of a site ...". You will have to do this with custom development, should be easy.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kristian Hole

Tuesday 26 April 2005 7:17:25 am

If you do a dump of the database you can replace all the "nor-no" with "eng-gb" and then reimport it.

But this might not be usable in your case..

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

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 20 2025 03:19:30
Script start
Timing: Jan 20 2025 03:19:30
Module start 'layout'
Timing: Jan 20 2025 03:19:30
Module start 'content'
Timing: Jan 20 2025 03:19:31
Module end 'content'
Timing: Jan 20 2025 03:19:31
Script end

Main resources:

Total runtime1.3563 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 590.5391152.6563
Module start 'layout' 0.00550.0029 743.195339.5078
Module start 'content' 0.00841.3461 782.7031579.9531
Module end 'content' 1.35460.0017 1,362.656312.1094
Script end 1.3563  1,374.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2651160.0002
Check MTime0.00140.1024160.0001
Mysql Total
Database connection0.00060.047810.0006
Mysqli_queries1.299295.7870590.0220
Looping result0.00070.0535570.0000
Template Total1.317097.120.6585
Template load0.00220.162120.0011
Template processing1.314896.939520.6574
Template load and register function0.00010.008610.0001
states
state_id_array0.00220.161710.0022
state_identifier_array0.00300.221420.0015
Override
Cache load0.00180.1312150.0001
Sytem overhead
Fetch class attribute can translate value0.00090.063530.0003
Fetch class attribute name0.00110.083260.0002
XML
Image XML parsing0.00390.285230.0013
class_abstraction
Instantiating content class attribute0.00000.000760.0000
General
dbfile0.00330.2402300.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs