Tuesday, July 31, 2012

Re: Setting Locale language dynamically initially

Hello Jens,

But, what if I don't want to use neither JSP nor PHP. Is there a way of doing it using GWT, or JavaScript?

Many thanks
Rana

On Wednesday, July 4, 2012 11:40:21 AM UTC+2, Jens wrote:
You could build your app's host html page dynamically (jsp, php, whatever) and add a <meta> property to the <head> as described in https://developers.google.com/web-toolkit/doc/latest/DevGuideI18nLocale#LocaleSpecifying

That way your app loads directly the specified language if its available, otherwise it loads the default language.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/AhR0rEtFOkIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment