Hello 

I'm currently trying to create an application, which should be running 
in english, german, thai and several other asian languages. 
The i18n transformer is working correctly, but to display the characters
in the correct manner it is needed to use the specific charset in the meta 
tag of html. 
Therefore I tried to setup the sitemap with different serializers according 
the different languages and tried to use the locale variable to select one 
of the serializers. But this doesn't work. 

here are some snippets of my sitemap:

----- code -------------------------
...
 <map:serializer name="html_th" mime-type="text/html"   
     src="org.apache.cocoon.serialization.HTMLSerializer">
   <encoding>TIS-620</encoding>
 </map:serializer>
 <map:serializer name="html_de" mime-type="text/html" 
     src="org.apache.cocoon.serialization.HTMLSerializer">
   <encoding>UTF-8</encoding>
 </map:serializer>

...

 <map:act type="locale">                
   <map:serialize type="html_{locale}" label="debug"/>
 </map:act>

...
----- code -------------------------

At first is this possible at all? As far as I read the documentation or the
mailling list archives I could find anything.
At second is it possible to get the http request paramater oder session 
parameter in the sitemap.

Any help is appreciated. thanks

ciao Lars

---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to