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