Hi,

Apologies for any typos (and the previous incomplete message) - I'm sending
this on my phone in the middle of a forest :-)

I believe the relevant code was

<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>
<map:components>
<map:transformers>
<map:transformer name="i18n"
src="org.apache.cocoon.transformation.I18nTransformer">
<catalogues>
<catalogue id="messages" name="msgs" location="cocoon:/translations" />
... (various closing tags)
<map:pipelines>
<map:pipeline>
<map:act type="session" /> (can't remember why this was present, or if it's
actually needed)
<map:match pattern="translations/msgs*.xml">
... stuff to generate catalogue entries for each language. In this case
there was a default generator reading a file (msgs.xml, msgs_en.xml,
msgs_de.xml, etc.) with the stored procedure call to fetch the tokens &
strings for each language, followed by a sql transformer, an xslt
transformer to convert to the catalogue xml format, and an xml serialiser.

Hope this helps,

Andy.
On 11 Aug 2011 22:33, "Nathaniel Grove" <nd...@virginia.edu> wrote:

Reply via email to