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
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? :|
Hmmm... my mail in response to this has gone missing. There are some
pretty good docs at
http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html
Ross