[opencms-dev] adding a new locale to opencms 6.

Francisco Lopera flopera at encamina.com
Wed Jul 27 12:58:57 CEST 2005


Hello.

 

I edit the file opencms-system.xml to add a new locale (valenciano).

 

<internationalization>    

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

                        <localesconfigured>

                                               <locale>es</locale>

                                               <locale>ca</locale>

                                               <locale>valencia</locale>

                                               <locale>en</locale>

                                               <locale>de</locale>

            </localesconfigured>

            <localesdefault>

                                    <locale>es</locale>

                                    <locale>ca</locale>

                                    <locale>valencia</locale>

                                    <locale>en</locale>

                                    <locale>de</locale>                  

                        </localesdefault>

</internationalization>

 

Valencia isn't a correct locale name, I see, but I need when the user try
the WYSIWYG editor, he can read (valencia) in element language selector and
not a little locale like va.

 

There is a solution to associate a name to a new locale included in
opencms-system.xml file?

 

Thankyou all!!!

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


More information about the opencms-dev mailing list