Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 62

Thread: How to translate Ext GWT's messages?

  1. #11
    Sencha User darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242

    Default

    zhou
    Thanks, I have added the info.

    bjagodzinski
    The translations, including english, are in the same package as MyMessages. They are properties files.

  2. #12

    Default

    Ok, now I got confused. I have gxt-1.0 and in the path

    \gxt-1.0\src\com\extjs\gxt\ui\client\messages

    I have the MyMessages.java file ONLY. What do I need to do to find those properties files?

  3. #13
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572

    Default

    The src folder seems to be missing these.

    Just open the gxt.jar file with winzip, and the properties files are there.

  4. #14

    Default

    Thanks a lot, that advice helped

    So I attach the polish translation, coding UTF-8.
    Attached Files Attached Files

  5. #15
    Sencha User darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242

    Default

    I have added the Polish translations.

  6. #16

    Default Polish translations file

    Hello Darrell,

    I have made corrections to the Polish translations file. It had a BOM marker bytes in the begining, and some minor errors in the translation ( min/max length of text fields). Please update the file.

    And since this is my first post - congratulations on the fine library!!
    Attached Files Attached Files

  7. #17
    Sencha User darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242

    Default

    I have updated the file.

  8. #18
    Ext User
    Join Date
    Jul 2008
    Posts
    33

    Default

    Sorry, but it's not really clear to me how to make use of these translations, beside accessing GXT.MESSAGES.... manually. I thought there would be a way to switch all GXT strings into a certain language other than english. Is there a way to do that or do I have to set them manually?

    Thanks for your help!

    BTW: It would be good if this topic will get an example inside the Explorer demo as this is very interesting topic to the community, I guess (like this very good example: http://extjs.com/deploy/dev/examples...ulti-lang.html)
    Last edited by smill; 11 Aug 2008 at 1:37 PM. Reason: BTW

  9. #19
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572

    Default

    smill, you switch locales via this http://code.google.com/webtoolkit/do...alization.html

    if the language is included in GXT, then it will use the right locale

    simplest way to switch is to add ?locale=en_AU to the end of the url for the page

  10. #20
    Ext User
    Join Date
    Jul 2008
    Posts
    33

    Default

    Quote Originally Posted by gslender View Post
    smill, you switch locales via this http://code.google.com/webtoolkit/do...alization.html

    if the language is included in GXT, then it will use the right locale

    simplest way to switch is to add ?locale=en_AU to the end of the url for the page
    gslender, thanks for your quick reply! I also figured out that by passing ?locale=de to my URL, GXT starts talking german. But german is the default locale at my app, so I usualy don't pass any locale argument to the url, just if it should be appear in english. GXT does not realize that, as far as I can see.
    Do you know a way?

    Thanks again!

Page 2 of 7 FirstFirst 1234 ... LastLast

Posting Permissions

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