cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenzo De Sio <l.de...@w4b.it>
Subject i18n language choice
Date Wed, 02 Oct 2002 12:17:18 GMT
Hi,

I'm starting some work with the i18n transformer, and I'm facing a problem.
I want to choose the i18n language with a sitemap parameter, but passing the
"locale" parameter seems to not work.

BTW, Everything works if I choose the language with a query string "locale"
param.

Here are a few sitemap fragments:

[...]

   <map:transformer
	logger="sitemap.transformer.i18n"
	name="i18n"
	src="org.apache.cocoon.transformation.I18nTransformer">
    <catalogue-name>messages</catalogue-name>
    <catalogue-location>i18n</catalogue-location>
   </map:transformer>

[...]

    <map:transform type="i18n">
	    <map:parameter name="locale" value="en"/>
    </map:transform>



Thanks in advance,

L.

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

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message