Hey Guys - There's a section on this page: http://code.google.com/webtoolkit/tutorials/1.6/i18n.html
That suggests that there's an easy way to set the user's locale by parsing the Accept-Language header in the user's request. I want to have my GWT app always display the locale specified in the client's Accept-Language header - not the locale specified in the host page. I think I should be able to write a servlet to do this... and it sounds like this is possible based on that page, but I don't know enough about the bootstrap process to actually make this work. Has anyone else done this? A more general question is - is there a way I could write a servlet that pulls the client's browser type and locale from the request headers and returns the appropriate GWT permutation? This would let me skip the entire <Proj>.nocache.js bootstrap process and speed up initialization. I feel like this shouldn't be too hard, but I don't really know what setup goes on in the nocache.js bootstrap file. Has anyone done this before? Can this be done? or is there essential setup that occurs in the bootstrap file? Any help will be appreciated. Thanks! -Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
