How to change locale/ link to current url (how to make flag-buttons to change locale)

34 views
Skip to first unread message

tanteanni

unread,
Oct 24, 2011, 8:40:13 AM10/24/11
to google-we...@googlegroups.com
At the moment we use some nasty inline JS-Code to change the current url (the loacle part) and let the browser reload the page. Is there a Java/GWT way to make a Link to the the same "place" but with different locale?

Somthing like that: new HyperLink(...,getCurrentUrl().changeLoacele("en")) ?

Or how to make buttons to change locale?

thx in advance

Thomas Broyer

unread,
Oct 24, 2011, 8:50:55 AM10/24/11
to google-we...@googlegroups.com

tanteanni

unread,
Oct 24, 2011, 9:00:22 AM10/24/11
to google-we...@googlegroups.com
Thx!
Reply all
Reply to author
Forward
0 new messages