RES: RES: [opencms-dev] Locale Opencms 6 alpha3

Dmitry chkalov at bk.ru
Thu Feb 10 01:00:13 CET 2005


Try rename file workplace_pt-br.properties to the
workplace_pt_BR.properties.

And see manual for java.util.ResourceBundle, java.util.Locale. 

On Wed, 2005-02-09 at 20:36, rvc_one at mizar.com.br wrote:
> Dmitry,
> 
>  I made some tests and here is the results:
> 
> 1) Create a new module with the name org.opencms.locales.br
> 2) Create a file named workplace_pt-br.properties in the directory
> /system/modules/org.opencms.locales.br/classes/org/opencms/workplace
> 3) Change some keys in the file to verify it was working (like Project to
> Projeto)
> 4) Create the following folder: /system/workplace/locales/pt-br
> 5) Restart Tomcat
> 
> OBS: When I put "br" as the identifier to the locale
> (workplace_br.properties), the OpenCMS displayed "Breton" instead "Brazilian
> Portuguese" in the preferences dialog. So I changed do "pt-br" and Opencms
> does not recognized the locale displaying just "pt-br". Does someone know
> what is the appropriate identifier????
> 
> If someone wants to help in the localization of the Workplace 6a3 to
> Brazilian Portuguese please contact me.
> 
> Rommel
> 
> -----Mensagem original-----
> De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
> Em nome de rvc_one at mizar.com.br
> Enviada em: quarta-feira, 9 de fevereiro de 2005 17:13
> Para: 'The OpenCms mailing list'
> Assunto: RES: RES: [opencms-dev] Locale Opencms 6 alpha3
> 
> Dmitry,
> 
>   I was trying to find some file in /system folder inside VFS. I've found
> the files workplace_XX.properties for english and german in the opencms.jar,
> but what specifically do I need to do??
> 
> 1) Create a jar file with the file
> org/opencms/workplace/workplace_br.properties???
> 2) Create a folder "br" in the /system/workplace/locales location???
> 3) Both???
> 
> Have you tested this process?? I will try some configurations and I'll post
> the results here.
> 
> Thank you for your tip.
> 
> Rommel
> 
> -----Mensagem original-----
> De: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]
> Em nome de Dmitry
> Enviada em: quarta-feira, 9 de fevereiro de 2005 15:28
> Para: The OpenCms mailing list
> Assunto: Re: RES: [opencms-dev] Locale Opencms 6 alpha3
> 
> On Wednesday 09 February 2005 20:49, rvc_one at mizar.com.br wrote:
> 
> I know:)
> 
> New path is used for located workplace_XX.properties file.
> Old path is com/opencms/workplace_XX.properties, new path is org/opencms/
> workplace_XX.properties.
> 
> 
> Now i am writing the module/tool for localization workplace.
> 
> 
> > Alex,
> >
> >   Is there any definition about the locale process of the Opencms version
> 6
> > alpha 3???
> >
> >   I tryed to locate information about that in the list archive, but I
> > didn't find out.
> >
> > Rommel
> >
> >   _____
> >
> > De: opencms-dev-bounces at opencms.org
> > [mailto:opencms-dev-bounces at opencms.org] Em nome de rvc_one at mizar.com.br
> > Enviada em: terça-feira, 8 de fevereiro de 2005 00:01
> > Para: 'The OpenCms mailing list'
> > Assunto: [opencms-dev] Locale Opencms 6 alpha3
> >
> >
> > Hi all,
> >
> >   is there any documentation on creating translate/locale modules to
> > OpenCms 6a3 or could someone send me the main steps to do that??
> >
> >   Is someone working in locale Opencms 6 to Brazilian Portuguese??
> >
> > Thank's in advance,
> >
> > Rommel
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 




More information about the opencms-dev mailing list