Announcement

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

    Changing Language for FilterBuilder

    Hi,

    I need to change the language of the operations ("equals", "contains", etc.) for the FilterBuilder. And i need just a few of them, not all. Any idea how i can do that?

    thanks
    kissev

    P.S. I have to turn off the "Subclause" also.
    Last edited by kissev; 7th Sep 2010, 23:40.

    #2
    Here it is:
    http://www.smartclient.com/docs/7.0r...ml#group..i18n

    AND

    http://www.smartclient.com/docs/7.0r.....i18nMessages

    Quick example:
    Code:
    Operators.addClassProperties({equalsTitle: "equals"});

    PS: http://www.smartclient.com/docs/7.0r...ubClauseButton

    Comment


      #3
      thanks a lot for the reply,

      where do i havae to make the changes? I tried it by changing the names in one of the .js file, but it didn't worked?

      thanks
      kissev

      Comment


        #4
        For i18n you have to put them before you create the FilterBuilder.

        Comment


          #5
          Hi,

          I just added the 2 lines to the .gwt.xml file and it worked:

          Code:
           <inherits name="com.google.gwt.i18n.I18N"/>
            <extend-property name="locale" values="de"/>

          Comment

          Working...
          X