Forums / Install & configuration / ezwebin always installs "English" (content classes)

ezwebin always installs "English" (content classes)

Author Message

Marco Zinn

Saturday 10 January 2009 8:08:46 am

Hi there,

i found, that ez(4) will always install the demo content (webin) classes in english language.
Even if you tell the setup wizard to set up a monolingual (german, in my case) site, you'll end up with "English language" being available in the admin interface.
That's annoying, as ez will always ask you about which language you want to edit an object in.
You cannot remove the english language from admin interface, as there are (18?) classes "in English". That means, the names and attribute names of the (webin) classes are defined as "English", while other core classes (Users, setup classes) are in german language.

1. Can anyone please confirm this annoying "behaviour"?
2. Would you also call this a bug? I reported the problem of "english only" demo content quite a while ago, but...
From looking into the demo packages (XML files), i didn't find any mention of the language. I.e., the packages do not seem to determine the language. Who else does? The setup wizard??

For those who have the same problem: You may define german translations for those 18 classes (just copy the english translation) and make them "Default". Then, you can -probably- delete the english language. I didn't try this yet, though.
Maybe there is also a way to remove these classes and re-import them... hoping, that the package importer now uses german language... Didn't try this yet either, though.

Well... The best way would be to provide "real" german/french/italian/younameit versions of the webin classes.... any volunteers?

Marco
http://www.hyperroad-design.com

Steven E. Bailey

Sunday 11 January 2009 3:06:21 am

I've had this with another package as well - although I don't remember which one. I imported a couple of classes and all of a sudden had nor-NO in my language list - with an object count of 0. The classes had nor-NO translations and had them set to the default, so I set english as the default, deleted the nor-NO class translation and was able to remove the language.

I think this is just the way importing a class works - you end up with all the languages the classes have translations for regardless of the settings of your site.

I agree, it's irritating.

As far as English goes, it is sort-of the default language for ezpublish... it's hard-coded in kernel/common/ezi18noperator.php

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

eZ debug

Timing: Jan 30 2025 21:29:49
Script start
Timing: Jan 30 2025 21:29:49
Module start 'content'
Timing: Jan 30 2025 21:29:49
Module end 'content'
Timing: Jan 30 2025 21:29:49
Script end

Main resources:

Total runtime0.3771 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.0082 588.1797370.2656
Module start 'content' 0.00820.0146 958.44531,001.6250
Module end 'content' 0.02280.3542 1,960.07033,892.0703
Script end 0.3770  5,852.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00511.3625200.0003
Check MTime0.00160.4153200.0001
Mysql Total
Database connection0.00080.215910.0008
Mysqli_queries0.272672.30371410.0019
Looping result0.00200.52221390.0000
Template Total0.353793.810.3537
Template load0.00100.264410.0010
Template processing0.352793.548910.3527
Override
Cache load0.00070.179010.0007
Sytem overhead
Fetch class attribute can translate value0.00180.473710.0018
XML
Image XML parsing0.00060.159910.0006
General
dbfile0.00491.2894200.0002
String conversion0.00000.002130.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