[opencms-dev] Add another locale to a site

lxbing113 lxbing113 at 163.com
Mon Jun 5 04:28:38 CEST 2006


hello :

     I think you need to modify "/tomcat5/webapps/opencms/WEB-INF/config/opencms-system.xml<br>
I add spa and zh for spanish and chinese locale, like this:<br>
<br>
<br>
<internationalization><br>
      <localehandler class="org.opencms.i18n.CmsDefaultLocaleHandler"/><br>
      <localesconfigured><br>
        <locale>en</locale><br>
        <locale>de</locale><br>
        <locale>spa</locale><br>
        <locale>zh</locale><br>
      </localesconfigured><br>
      <localesdefault><br>
        <locale>en</locale><br>
        <locale>de</locale><br>
      </localesdefault><br>
    </internationalization><br>
you can add your locale as upside ,and if you want it to be default,
modify <localesdefault> node, then restart tomcat ,that maybe ok
! <br>
good luck !<br>
<br>
   xiao bing <br>
2006-06-05<br>

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


More information about the opencms-dev mailing list