Map Demo CLASSES Language

Author Message

Marco Zinn

Thursday 21 October 2010 12:11:19 pm

Hi there,

I'd like to set up a mono-lingual german site. Whenever i choose to import the demo content, i can map the demo objects' content to "German" and get nice, german content object (with english content, fine).

I'm not really interessted in the demo content, but i want the ezwebin/ezflow classes.

But, the content classes are create as ENGLISH classes. They only have the english translation. That means, that ez asks me about the content language, whenever i create content in the admin interface.

I guess, i can limit the content languages in admin, very much as they are limited in the user siteaccess (ez does not ask me for the language there). But: How do i get rid of the english (content) language completly? I cannot delete the language in the admin interface, because there are 32 classes, that are defined in english.

I've demanded multi-langual demo content (and classes) since some years ago, but it's unheard...

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

Greg McAvoy-Jensen

Thursday 21 October 2010 12:59:38 pm

Marco,

You'll need to create German translations of each of those classes, set the German translation as main, and delete the English translations. Once that's done for all 32, the system will let you delete the language.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Marco Zinn

Tuesday 26 October 2010 9:58:30 am

Thanks, Greg.

I knew (well: expected) this. Now, can you image how awesome it is to do this at every new installation? :(

@eZ: Can't we have multi-langual demo classes (and demo content), so we can only keep the required language at mono-lingual sites?

Marco
http://www.hyperroad-design.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 02:06:35
Script start
Timing: Jan 18 2025 02:06:35
Module start 'layout'
Timing: Jan 18 2025 02:06:35
Module start 'content'
Timing: Jan 18 2025 02:06:36
Module end 'content'
Timing: Jan 18 2025 02:06:36
Script end

Main resources:

Total runtime0.8254 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.00000.0062 588.0156152.6250
Module start 'layout' 0.00620.0032 740.640639.4531
Module start 'content' 0.00940.8145 780.0938548.5703
Module end 'content' 0.82390.0015 1,328.664112.1641
Script end 0.8254  1,340.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4123160.0002
Check MTime0.00140.1752160.0001
Mysql Total
Database connection0.00090.111810.0009
Mysqli_queries0.771893.5065570.0135
Looping result0.00080.0976550.0000
Template Total0.793896.220.3969
Template load0.00200.247220.0010
Template processing0.791795.915420.3959
Template load and register function0.00010.012710.0001
states
state_id_array0.00120.147910.0012
state_identifier_array0.00140.170120.0007
Override
Cache load0.00160.1980190.0001
Sytem overhead
Fetch class attribute can translate value0.00080.099920.0004
Fetch class attribute name0.00200.244150.0004
XML
Image XML parsing0.00110.136520.0006
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00190.2340240.0001
String conversion0.00000.000840.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
3content/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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs