[opencms-dev] Configuration of locales

Carsten Wilhelm wilhelm at bplusd.de
Tue Apr 3 20:20:32 CEST 2012

Hi Tobias,

That's ok for me - especially since I can exclude "en" from appearing in the content editors dropdown.

Is it possible to hide the "de" locale too (since it seems to be auto-enabled if I add "de_DE" locale - I've had a look in the CmsLocaleManager)? Or is it used as a fallback if no content is found for "de_DE"? Like this:

1.       put German/Germany specific content into "de_DE"

2.       put German content (that might be reused by other german-speaking countries) into "de"

3.       OpenCms will then search for "de_DE" and then (if no content was found) for "de" content?

Kind regards,

Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Tobias Herrmann
Gesendet: Dienstag, 3. April 2012 17:16
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Configuration of locales

Hi Carsten,

the .config files used to configure the behaviour of the container page editor and the sitemap editor are only evaluated for locale en. This may be in your case a little inconvenient but it is the current state. To be able to edit them, you need to add the locale en to your system configuration.
For your site you may set the locale-available property to de_DE, so the XML content editor will only offer that locale to your editors.

Greetings, Tobias


Visit OpenCms Days 2012 Conference and Expo September 24 to 25, 2012 in Cologne, Germany http://www.opencms-days.org

Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com  --  http://www.opencms.org

Am 03.04.2012 15:34, schrieb Carsten Wilhelm:

Foundone thing: content types re-appear in the ADE if I switch back the locale from "de_DE" to "en" on the .config file in my module. Since I haven't got any "en" locale in my configuration, I'm no longer able to edit the .config using the editor in the OpenCms Explorer.

Sounds like bug to me - ADE doesn't seem to recognize  the correct locale?

Kind regards,

Von: opencms-dev-bounces at opencms.org<mailto:opencms-dev-bounces at opencms.org> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Carsten Wilhelm
Gesendet: Dienstag, 3. April 2012 14:54
An: opencms-dev at opencms.org<mailto:opencms-dev at opencms.org>
Betreff: [opencms-dev] Configuration of locales


I'm using 8.0.3 and had some strange effects using locales.

We have developed the complete site with the default locale "en" from installation, although it's a german website.
Then we stopped tomcat, added "de_DE" as new default locale and restartet tomcat. No content at all (which seems to be correct)
After thatwe tried to change the locale using the content tools from "en" to "de_DE" - doesn't work. XML sourcecode contained language="en" for all files afterwards.
We changed the XML code using syncronisation and search&replace - after that content was visible again.

Two remaining problems still there:

1)      Although we have onl ydefined a locale "de_DE", we have two locales in the dropdown menus ("German (Germany)" and "German).
Does anybody know where the second locale came from?

2)      All our modules no longer occur in the list of new content in ADE. Editing existing content still works, though.
Does anybody know what could have happened here?

Kind regards,


This mail is sent to you from the opencms-dev mailing list

To change your list options, or to unsubscribe from the list, please visit


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120403/e6c8355b/attachment.htm>

More information about the opencms-dev mailing list