Announcement

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

    Calendar i18n

    Hello,

    I am using i18n for PT-pt, but the Calendar shows EN texts.
    What should I do to change the texts to PT?


    Using SmartGWT LGPL 2.4

    Thanks!
    agalvao

    #2
    Did you mean pt_BR, or pl_PL? There is no PT-pt locale. If you see a missing translation, you need to update it on the Smart GWT 99translations page. Also try downloading the latest build as several translations have been added post 2.4.

    Comment


      #3
      I will try to explain better.

      I have some components in my application that are not internationalizing as expected.
      In the smartgwt.jar, I have the correct language properties file (pt). But in Calendar and Dialogs (SC.ask, SC.confirm,...) the labels are presented in EN.

      Maybe I am missing some configuration.
      Can you help me?

      Thanks in advance,
      agalvao

      Comment


        #4
        Anyone can help?

        agalvao

        Comment


          #5
          You were already told that you need to update the "pt" translations on the 99translations project. If those translations are incomplete, then you will continue to see the english translations for the missing entries.

          The pt_BR translations are more complete and the i18n of the Calendar and Dialogs are fine.

          First

          Code:
          <extend-property name="locale" values="pt_BR"/>
          and once the application starts, make sure you add the locale=pt_BR param in the URL.

          See attached screenshots.
          Attached Files

          Comment


            #6
            Hello,

            I've updated the pt properties file with some missing properties and added the tag

            <meta name="gwt:property" content="locale=pt">

            in html file.

            Now it is finally working.

            Thanks for the help!

            agalvao

            Comment

            Working...
            X