Hi Konstantin,

I'm sorry but if I tried your solution, I got the german translation in
every case. I did this:

<map:actions>
...
<map:action logger="sitemap.action.locale" name="locale"
src="org.apache.cocoon.acting.LocaleAction">
  <map:parameter name="language-attribute" value="x"/>
  <map:parameter name="locale-attribute" value="y"/>
</map:action>
...
</map:actions>

and:

<map:match pattern=test">
  <map:act type="locale">
    <map:generate src="prototyp/first.xml"/>
    <map:transform type="i18n"/>
    <map:serialize type="xml"/>
  </map:act>
</map:match>

or this:

<map:match pattern=test">
  <map:act type="locale">
  </map:act>

  <map:generate src="prototyp/first.xml"/>
  <map:transform type="i18n"/>
  <map:serialize type="xml"/>
</map:match>

My request .../Cocoon/test?x=en&y=en

always returns the german translation. What is wrong?

Regards,
- Volker -


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to