Search code examples
gwttranslationgxt

GXT Grid translate


i've tried to translate one of GXT widgets - Grid (exacly context menu in column header with sorting etc.) into Polish language but i cant find place to inject my translation. In some other widget (PagingToolBar) is method setMessages(...) but i cant find it in Grid

So im asking you about place where i can set text that will be displayed in that menu.

Does anyone done this before ?

PS. Sorry for my english.


Solution

  • Take a look at this:

    http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideI18nLocale.html

    and put <extend-property name="locale" values="pl_PL"/> in your module.gwt.xml and <meta name='gwt:property' content='locale=pl_PL'> in your index.html.

    This (imho) should be the right way.

    P.S. I'm not sure, if the pl_PL is right:)