ContentObjectLocale for admin interface

Author Message

Giovanni Gigante

Tuesday 10 May 2005 3:28:59 am

Hello,
I have switched to italian the language of the admin interface by putting in site.ini.append.php:

[RegionalSettings]
Locale=ita-IT
TextTranslation=enabled

So far it's ok. But then, if I also add

ContentObjectLocale=ita-IT

strange things begin to happen. The content that I have previously created (in english) is not editable anymore. The italian flag appears in the edit panel, but nothing else, no editing interface at all, just an empty panel. If I click on "manage translations" it appears that only the english one is available, but if I try to add an italian one (trying to have the article appear) nothing happens.
So for now I have left what seems to work, that is

[RegionalSettings]
Locale=ita-IT
TextTranslation=enabled
ContentObjectLocale=eng-GB

but I don't really understand the meaning of this.
question:
1) What is happening? Why the editing is no longer possible? Why the "manage translations" is messed up?
2) What do ContentObjectLocale exactly does anyway?

Thanks,
Giovanni

Ɓukasz Serwatka

Wednesday 18 May 2005 1:28:16 am

Hi Giovanni,

in INI file is comment:

# The default language for content objects
# Note: Changing this can have catastrophic consequences
#       since there might not be any content objects with
#       the selected language. Instead the content/translations
#       page should be used for adding/removing translations.

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

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 21:05:24
Script start
Timing: Jan 18 2025 21:05:24
Module start 'layout'
Timing: Jan 18 2025 21:05:24
Module start 'content'
Timing: Jan 18 2025 21:05:25
Module end 'content'
Timing: Jan 18 2025 21:05:25
Script end

Main resources:

Total runtime0.8696 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 588.0313152.6406
Module start 'layout' 0.00800.0033 740.671939.4766
Module start 'content' 0.01130.8567 780.1484533.0859
Module end 'content' 0.86800.0015 1,313.23448.1406
Script end 0.8696  1,321.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3881160.0002
Check MTime0.00130.1482160.0001
Mysql Total
Database connection0.00080.095710.0008
Mysqli_queries0.811493.3014540.0150
Looping result0.00070.0848520.0000
Template Total0.826195.020.4131
Template load0.00250.287220.0012
Template processing0.823694.712920.4118
Template load and register function0.00010.016410.0001
states
state_id_array0.00100.114410.0010
state_identifier_array0.00190.223620.0010
Override
Cache load0.00190.2173220.0001
Sytem overhead
Fetch class attribute can translate value0.00080.092720.0004
Fetch class attribute name0.00120.136930.0004
XML
Image XML parsing0.00080.097720.0004
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00520.5970180.0003
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs