Forums / Setup & design / ContentObjectLocale for admin interface

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

eZ debug

Timing: Jan 18 2025 19:30:26
Script start
Timing: Jan 18 2025 19:30:26
Module start 'content'
Timing: Jan 18 2025 19:30:27
Module end 'content'
Timing: Jan 18 2025 19:30:27
Script end

Main resources:

Total runtime0.7650 sec
Peak memory usage4,096.0000 KB
Database Queries191

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.8281180.8281
Module start 'content' 0.00520.6073 768.6563538.1797
Module end 'content' 0.61250.1524 1,306.8359332.7578
Script end 0.7649  1,639.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5225210.0002
Check MTime0.00150.1994210.0001
Mysql Total
Database connection0.00070.085410.0007
Mysqli_queries0.692290.48301910.0036
Looping result0.00210.26821890.0000
Template Total0.734296.020.3671
Template load0.00180.239220.0009
Template processing0.732495.741220.3662
Template load and register function0.00020.021310.0002
states
state_id_array0.00130.166710.0013
state_identifier_array0.00090.112320.0004
Override
Cache load0.00140.1798220.0001
Sytem overhead
Fetch class attribute can translate value0.00150.199330.0005
Fetch class attribute name0.00130.163530.0004
XML
Image XML parsing0.00100.136130.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00250.3316290.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs