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
From: Cyril Vidal [EMAIL PROTECTED]
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).
Simply use the LocaleAction as it is done in i18n samples.
Thanks for your help Konstantin!
It's OK with LocaleAction.
Regards,
Cyril.
- Original Message -
From: Konstantin Piroumian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 31, 2003 4:12 PM
Subject: Re: How can the result of a pipeline be a parameter for a
transformation in
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,
Hello Christian,
First, thanks for your help!
I think I've done what you told me concerning the input module. And in fact,
I've just changed the value of the parameter 'locale', given the
successfull pattern using localeAction:
localeAction ***
map:pipeline
map:act type=locale
map:match
maybe your user agent has several languages set in Accept-Language and maybe
the input module uses these (LocalAction using first encountered).
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im
Auftrag von Cyril Vidal
Gesendet: Freitag, 31. Januar 2003