Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Localisation

    Hello,

    I struggle with SmartGWT mechamism and I wonder if it's possible to code a mechanism of redirecting the main aplication to another URL with a variable locale set to one of available languages e.g. en or fr. From what I've read there're only 2 ways of setting the value of locale. It's either by hardcoding it in .gwt.xml file or by adding it to url (Main.html?locale=en). The secod option is out of question, because it doesn't allow us to dynamically change language and we want to allow users to assign a language to their account's settings, so it could be loaded from DB after they reload the application. Using Window.Location.getParameter won't do as there is no way to access Location with object of class com.smartgwt.client.widgets.Window. Any idea how to archve this ?
    Last edited by radekk; 9 Aug 2013, 06:35.
Working...
X