ezwebin object translation

Author Message

Albe Terra

Thursday 30 October 2008 4:52:00 am

Hi,
I found 2 strange behaviours in the ezwebin module (web site toolbar) in the translation of objects.
I have two languages: ENG and ITA.

1- I create an article in ENG and set Default Object Availability to true (to have it displayed also in the ITA website)

STRANGE BEHAVIOUR 1
2- I access the ITA webiste and go to my article page: the article shown is obviously the ENG version.
3- Using the ezwebin web_site_toolbar I press Edit
4- I get the "New languages" dialog saying:
Translate into "ITA" (preselected since I am in the ITA website)
Translate from "empty draft" with no other options!

The strange fact is that I don't get the Translate from "ENG" option!! Why?
I assumed it has something to deal with the URL that is something like: /eng/content/edit/172/a
Trying to manually change it to: /content/edit/172/a I correctly get the Translate from "ENG" option

STRANGE BEHAVIOUR 2
2- I access the ENG webiste and go to my article page: the article shown is obviously the ENG version.
3- Using the ezwebin web_site_toolbar I press Edit
4- I get to the Edit page and the web_site_toolbar contains a "Traslate from" select

Why would I want to translate the ENG article, that already exists?
I would BETTER like to translate it INTO another language, ITA for example.

Thanks in advance for your help!
Albe

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

Main resources:

Total runtime0.7651 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.0062 587.9141152.6250
Module start 'layout' 0.00620.0028 740.539139.4453
Module start 'content' 0.00890.7547 779.9844412.4844
Module end 'content' 0.76370.0015 1,192.46888.1641
Script end 0.7651  1,200.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4418160.0002
Check MTime0.00130.1743160.0001
Mysql Total
Database connection0.00070.090710.0007
Mysqli_queries0.728095.1487460.0158
Looping result0.00040.0515440.0000
Template Total0.734195.920.3671
Template load0.00220.292120.0011
Template processing0.731995.651520.3659
Template load and register function0.00020.026510.0002
states
state_id_array0.00090.111910.0009
state_identifier_array0.00070.096920.0004
Override
Cache load0.00190.2437240.0001
Sytem overhead
Fetch class attribute can translate value0.00050.063010.0005
Fetch class attribute name0.00060.074210.0006
XML
Image XML parsing0.00010.012710.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00060.0792100.0001
String conversion0.00000.001040.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
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/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: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs