Forums / Setup & design / Strange behaviour after installing translation

Strange behaviour after installing translation

Author Message

Jan Krabbenbos

Monday 11 August 2003 3:03:22 am

I am translating my into dutch at the moment. I started out in english. Yesterday I installed my (partial) dutch translation and set ezp up to use this translation. Then I translated all the articles and other entries into dutch, so they where available in english and dutch. Then I changed the site.ini.append.php to use dutch as the main language. Today I found out that when editing an existing article (or other entry) every attribute shows up twice. So there are two entries for 'name', 'description', etc. When I create a new article there is only one.

I only want to use the dutch translation and remove eventually the english texts. Can anybody tell me how I can solve this and 'restore' the normal behaviour again?

Thanx
Jan

Jan Krabbenbos

Monday 11 August 2003 6:50:21 am

More info on this subject: What I did wrong.

After installing the dutch translation and translating all items in the folders, I first switched languages in site.ini.append.php: Locale=dut-NL

Then I checked if it worked and I did not miss anything. It worked perfectly. Then I also changed:
ContentObjectLocale=dut-NL

And then in the setup removed the english translation. All the english texts are now suddenly seen as dut-NL in the database. I checked i.e. the table ezcontentobject_attribute and removed all versions of an item where I could guess it was the english version (starting at version 1, dutch came in later). Then checked the editing of this item again, and it showed up in the correct way.

Conclusion: by removing a translation all items that have an entry in the database for this translation, these items get automatically an existing language. If you then try to edit such an item, the attributes of that item doubles.

I do not think it is a bug in ezp3, but it might be an unwanted feature. If anybody has a good suggestion how to solve this in an easy way, without starting again, I appreciate that.

Thanx,
Jan

padEE Scherer

Thursday 21 August 2003 2:18:30 am

Well, I had ez running perfectly until I switched the translation from English to German. After I deleted the English translation, nothing worked. I could only access the admin site, but the content of all folders could not be looked at. On the normal view I've created came the kernel error 3.
So, basically, I can't access to my site and I really don't want to start again.

I would be very glad, if someone could tell me what exactly went wrong and what could be done to fix it.

cheers,
padEE

eZ debug

Timing: Jan 31 2025 01:18:13
Script start
Timing: Jan 31 2025 01:18:13
Module start 'content'
Timing: Jan 31 2025 01:18:13
Module end 'content'
Timing: Jan 31 2025 01:18:13
Script end

Main resources:

Total runtime0.3518 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 590.2813370.2734
Module start 'content' 0.00750.0150 960.55471,001.4688
Module end 'content' 0.02250.3292 1,962.02343,890.2891
Script end 0.3517  5,852.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00471.3327200.0002
Check MTime0.00130.3788200.0001
Mysql Total
Database connection0.00060.169410.0006
Mysqli_queries0.245369.72381410.0017
Looping result0.00180.51471390.0000
Template Total0.328693.410.3286
Template load0.00100.291110.0010
Template processing0.327693.119310.3276
Override
Cache load0.00060.178510.0006
Sytem overhead
Fetch class attribute can translate value0.00220.620310.0022
XML
Image XML parsing0.00030.085910.0003
General
dbfile0.01113.1480200.0006
String conversion0.00000.001230.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs