forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [jira] Commented: (FOR-506) Do not hard-code site-visible message strings in skin files
Date Sat, 04 Jun 2005 21:49:49 GMT
On Sat, 2005-06-04 at 21:36 +0100, Ross Gardler wrote:
> Pedro I. Sanchez wrote:
> > On Sat, 2005-04-06 at 06:06 +0200, Thorsten Scherler (JIRA) wrote:
> > 
> >>    [ http://issues.apache.org/jira/browse/FOR-506?page=comments#action_12312612
] 
> >>
> >>Thorsten Scherler commented on FOR-506:
> >>---------------------------------------
> >>
> 
> ...
> 
> >>So what we need is that 
> >>1) we surround all captions with <i18n:text /> tags
> >>2) add this keys to the catalogue
> > 
> > 
> > Where is the catalogue where I need to add the keys/values to?
> 
> They are attached to the issue in the patch that Thorsten uploaded.
> 
> Ross

In revision 180026 I added (I applied the patch to trunk):
main/webapp/skins/common/messages/CommonMessages_es.xml
main/webapp/skins/common/messages/CommonMessages_de.xml
main/webapp/skins/common/messages/CommonMessages_us.xml

That are the catalogues.

I guess the work should start in creating one master 
main/webapp/skins/common/messages/CommonMessages_us.xml
and add all skin keys to it. Then
cp main/webapp/skins/common/messages/CommonMessages_us.xml
main/webapp/skins/common/messages/CommonMessages_{language_country_variant}.xml

and translate the keys.

HTH

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message