On Mon, Nov 3, 2008 at 5:36 PM, rashmi <[EMAIL PROTECTED]> wrote:
> But, I would like to dynamically generate the meta tag to set locale
> at run time based on the client's browser locale. How to I change the
> meta tag dynamically to use client's locale settings? Most browsers
> send an Accept-Language header - is there any way in GWT to use that
> information to dynamically generate the meta-tag?

Yes.  Instead of serving a static host page, serve a dynamic host page
using your favourite server-side approach.  On the server, read the
Accept-Language header and write an appropriate value into a meta tag
for consumption by GWT.

Ian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to