On 31.Jan.2003 -- 04:07 PM, Cyril Vidal wrote:
> Hello,
>
> I would like to retrieve the language of the user's browser, so that I could
> call the I18n Trasnformer in the right way (by passing the locales's value
> equal to the browser's language).
>
> To retrieve the language set up in the browser, I've used the Request
> Generator, and applied the following simple stylesheet to it:
Starting with version 2.0.4 you could try
{request-header:accept-language} for that. See input modules in
"concepts" and javadocs.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
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]>