Multilingual website: problem with the untranslated object

Author Message

Xavier Dutoit

Monday 08 August 2005 1:50:33 am

Hi,

I've got to siteaccess with different default languages (fr and en) and the same database. It's configured so if the object isn't translated, it displays the existing language.

By default, most of the objects are only in french and not translated. Therefore, the english website contains moslty french content but a few key translated objects.

I have several problems with the french version seen in the english interface:
- if I try to edit it, it tries to edit the english version and I got a lot of error messages (non of the attributes can be found, as they don't exist in english)
- I don't want it to be indexable by the search engines (as it duplicates the info seen on the french part).

How can I know if the object is "really" in english or that's the french version ?

X+

http://www.sydesy.com

Gabriel Ambuehl

Monday 08 August 2005 1:53:25 am

Shouldn't it be displayed under Manage Translations in the Admin GUI?

It might also be displayed in the right pane in front end editing.

Visit http://triligon.org

Xavier Dutoit

Monday 08 August 2005 10:48:03 am

Yes, sure, I know how to create a translation "the hard" way : have a draft of the object, create a translation, save the translation, save the draft.

However, I don't know if I need to create the translation (until I get the error messages when I try to edit the content).

When I'm on a language (say FR), and I want to edit a content that doesn't exist yet in FR (it only exists in EN), I get error messages and I have to create the translation (the hard way).

Is it possible to avoid it, so I don't offer the edit option ?

Am I clear ?

X+

http://www.sydesy.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 19:25:42
Script start
Timing: Jan 18 2025 19:25:42
Module start 'layout'
Timing: Jan 18 2025 19:25:42
Module start 'content'
Timing: Jan 18 2025 19:25:43
Module end 'content'
Timing: Jan 18 2025 19:25:43
Script end

Main resources:

Total runtime0.9845 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00020.0052 589.3047152.6563
Module start 'layout' 0.00530.0029 741.960939.5078
Module start 'content' 0.00820.9752 781.4688531.0859
Module end 'content' 0.98340.0011 1,312.554712.0938
Script end 0.9845  1,324.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3731160.0002
Check MTime0.00160.1655160.0001
Mysql Total
Database connection0.00090.087610.0009
Mysqli_queries0.933494.8073570.0164
Looping result0.00060.0617550.0000
Template Total0.943995.920.4720
Template load0.00220.227920.0011
Template processing0.941695.643920.4708
Template load and register function0.00010.009910.0001
states
state_id_array0.00200.204210.0020
state_identifier_array0.00130.129520.0006
Override
Cache load0.00190.1937230.0001
Sytem overhead
Fetch class attribute can translate value0.00110.115920.0006
Fetch class attribute name0.00120.123740.0003
XML
Image XML parsing0.00060.063820.0003
class_abstraction
Instantiating content class attribute0.00000.001050.0000
General
dbfile0.00070.0663160.0000
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/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
4content/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs