[opencms-dev] Configuration of locales

Tobias Herrmann t.herrmann at alkacon.com
Tue Apr 3 17:16:24 CEST 2012


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:
>
> Hi,
>
> 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,
>
> Carsten
>
> *Von:*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
> *Betreff:* [opencms-dev] Configuration of locales
>
> Hi,
>
> 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,
>
> Carsten
>
>
>
> _______________________________________________
> 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
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120403/6b04b8db/attachment.htm>


More information about the opencms-dev mailing list