forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <>
Subject Re: How to avoid hard-coding site-visible message strings in skin files
Date Thu, 02 Jun 2005 17:42:25 GMT
Pedro I. Sanchez wrote:
> 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
>><map:transformer name="xinclude"
>>        src="org.apache.cocoon.transformation.XIncludeTransformer"/>
>>      <map:transformer name="i18n"
>>	      <catalogues default="contracts">
>>	        <catalogue id="other" name="OtherMessages"
>>	        <catalogue id="contracts" name="ContractsMessages"
>>	      </catalogues>
>>	      <cache-at-startup>true</cache-at-startup>
>>	    </map:transformer>
>>in the output.xmap of the viewHelper.xhmtl and nothing in the
>>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.
> Yaick! What does this all mean for me the poor end user? How do I modify
> the labels? :|

Hmmm... my mail in response to this has gone missing. There are some 
pretty good docs at


View raw message