Search code examples
javagwtinternationalizationgxt

switching locales dynamically?


I am using GWT/Spring/Hibernate application. I am going to implement internationalization(i18n). my appln should support 5 different languages. i can configure appropriate languages in gwt.xml file and externalize all properties into separate properties file specific to each language. but i need to provide a combobox where all locales are displayed, based on the selected locale, page should be refreshed. How can i achieve this?

<extend-property name="locale" values="en"/>//i have set for all 5 locales

Thanks!


Solution

  • I am very much novice at GWT, but the following will help you:

    1. GWT I18n configuration
    2. Locales in GWT - DevGuideI18nLocale
    3. Add Runtime Locales to your moduleXML
    4. Programmatic Access to Locale Information