[opencms-dev] Configuration of locales

Schliemann, Kai K.Schliemann at comundus.com
Wed Apr 4 08:08:16 CEST 2012


Hi Carsten,

locale-available is a property in the workplace of OpenCms, not in a
config file.

You can set it on the locale specific folders like "de", "en"...

 

Regards

Kai

 

Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Carsten Wilhelm
Gesendet: Dienstag, 3. April 2012 20:25
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Configuration of locales

 

Hi,

 

Sorry to disturb once again - I've only found "localesconfigured" and
"localesdefault" in my opencms-system.xml.

This didn't do the job:

 

    <internationalization>

      <localehandler class="org.opencms.i18n.CmsDefaultLocaleHandler"/>

      <localesconfigured>

        <locale>de_DE</locale>

        <locale>en</locale>

      </localesconfigured>

      <localesdefault>

        <locale>de_DE</locale>

      </localesdefault>

      <timezone>GMT+01:00</timezone>

    </internationalization>

 

>> 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. 

Can you provide an example of how to do this?



Kind regards,

Carsten

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


More information about the opencms-dev mailing list