Announcement

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

    Load language files at startup

    Dear Developers,

    I want to add multi-language to my webapp. I followed the instructions of gwt and smartgwt. Everything works as expected, if the language is determined before my webapp gets started. If I want to run webapp in Chinese, I can pass "?locale=zh_CN" in url or write a meta-tag in html.

    My question is that, if is it possible to load particular language file, after the language zone setting is read from config file (in onModuleLoad)? Like
    Code:
    I18nUtil.setLocale("zh-CN");
Working...
X