Results 1 to 5 of 5

Thread: Change locale at runtime

  1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    50
    Vote Rating
    0
      0  

    Default Change locale at runtime

    Hi,
    can I change the locale of my application at runtime?

    Thanks!

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
      0  

    Default

    don't believe you can, but this is a GWT question and best asked on the forum at google

  3. #3
    Ext User
    Join Date
    Jul 2008
    Posts
    50
    Vote Rating
    0
      0  

    Default

    Yes,
    it's possibile with GWT: http://code.google.com/webtoolkit/do...alization.html

    But it can be applied also with GXT? It seems not to work.

  4. #4
    Ext User
    Join Date
    Jul 2008
    Posts
    50
    Vote Rating
    0
      0  

    Default

    Ehm,
    sorry maybe I've explained not very well my question. The question is if I can change the translation of the GXT components on the fly. So if I change my locale GXT is reading new MyMessage.properties file with the correct locale selected or the locale is a static choose to make on compilation time?

    Thanks

  5. #5
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
      0  

    Default

    not sure, but would be interested in what you find out.... obviously this approach is not common and most would load a page based on browser locale settings etc... ie what is normally done in GWT and I believe GXT follows that approach by using the GWT objects/methods to determine the correct i18n info

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •