Announcement

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

    Dynamic i18n

    I do not like the idea of compiling and distributing 150 permutations of an application (6 browsers * 25 languages). Therefore I worked out a more dynamic solution based on dynamic loading of resource bundles from the server. This is straightforward enough for application messages. For framework messages though I had to resort to a bit of hacking. I essentially repeat the initialization done in I18nUtil.doInit() with strings which I load from the server in the index.html file. It would be good if I18nUtil had a public API for such purposes. E.g. a public static method which takes a Dictionary object instead of Messages.

    Regards
    Nikolay

    #2
    Feel free to post a patch for this and we'll look into incorporating it.

    Comment

    Working...
    X