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: > --------------------------------------- > > The patch enables i18n support for forrest. Mainly it is focus right now on > the i18n support for skins (in particular pelt). > > The changes I do not mention here are related to setup i18n support for the > backend. > > The following code changes are as well the only example I implemented right > now. ;-) > > Index: webapp/skins/pelt/xslt/html/site2xhtml.xsl > =================================================================== > --- webapp/skins/pelt/xslt/html/site2xhtml.xsl (revision 179925) > +++ webapp/skins/pelt/xslt/html/site2xhtml.xsl (working copy) > @@ -34,7 +34,8 @@ > > --> > > -<xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > +<xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > + xmlns:i18n="http://apache.org/cocoon/i18n/2.1"> > > <xsl:import href="../../../common/xslt/html/site2xhtml.xsl"/> > <!--+ > @@ -687,7 +688,7 @@ > <xsl:template match="[EMAIL PROTECTED]'disable-font-script']"> > <xsl:if test="$disable-font-script = 'false'"> > <div class="trail"> > - Font size: > + <i18n:text >Font size:</i18n:text> > > You see I just surrounded the caption with a <i18n:text /> tag and added the > key into the common messages. > > e.g. spanish translation: > +<catalogue> > + <message key="Font size:">Tamaño de fuente:</message> > +</catalogue> > > or german: > +<catalogue> > + <message key="Font size:">Schriftgrösse:</message> > +</catalogue> > > 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? -- Pedro