forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pedro I. Sanchez" <psanc...@colcan.biz>
Subject Re: How to avoid hard-coding site-visible message strings in skin files
Date Thu, 02 Jun 2005 17:30:11 GMT
On Thu, 2005-02-06 at 19:04 +0200, Thorsten Scherler wrote:
> > Thorsten, what would the equivalent to the above be in views?
> 
> I started the work in view on it and it seems to work till the final
> stage. :( ...but I guess it is a bug that I hope to find quite fast. ;-)
> I tested with one contract and need to finish the rest.
> 
> Actually I did not do it like you or Pedro suggested but the "cocoon"
> way with a simple i18n transformer in the contracts. That means we have
> a 
> <map:transformer name="xinclude"
>         src="org.apache.cocoon.transformation.XIncludeTransformer"/>
>       <map:transformer name="i18n"
> src="org.apache.cocoon.transformation.I18nTransformer">
> 	      <catalogues default="contracts">
> 	        <catalogue id="other" name="OtherMessages"
> location="messages"/>
> 	        <catalogue id="contracts" name="ContractsMessages"
> location="messages"/>
> 	      </catalogues>
> 	      <cache-at-startup>true</cache-at-startup>
> 	    </map:transformer>
> in the output.xmap of the viewHelper.xhmtl and nothing in the
> skinconf.xml.
> 
> IMO that would be as well the way to implement it for the "old fashion"
> skins but I do not know how this affect the cli.
> 
> salu2

Yaick! What does this all mean for me the poor end user? How do I modify
the labels? :|

-- 
Pedro



Mime
View raw message