Hi Konstantin, thank you for your reply. Sorry, for being a nag in this point.
Do you mean this: <map:match pattern="test"> <map:act type="locale"> <map:parameter name="locale-attribute" value="x"/> <map:generate src="prototyp/first.xml"/> <map:transform type="i18n"/> <map:serialize type="xml"/> </map:act> </map:match> with .../Cocoon/test?x=en This doen't work. Maybe I misunderstood you. Regards, - Volker - -----Original Message----- From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Sent: Freitag, 12. April 2002 13:36 To: '[EMAIL PROTECTED]' Subject: RE: How to switch language for i18n at runtime? > From: Volker Schneider [mailto:[EMAIL PROTECTED]] > > Dear colleagues, > > I want to switch language to "en" at runtime. I read the > source of the LocationAction and tried so set the > language-attribute in some different ways, but this didn't work. > > Does anybody know, how I can switch the language being used > for i18n at runtime? Use a request param like this: page.xml?locale=en (change param name to your 'locale-attribute' value) and it should work. Is that what you need? Regards, Konstantin > > Thank you, > - 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]> --------------------------------------------------------------------- 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]> --------------------------------------------------------------------- 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]>