Success! Looks like we've fixed this one. According to our records the fix was applied for EXTGWT-2075 in 3.1.1.
  1. #1
    Ext GWT Premium Member matienzar's Avatar
    Join Date
    Jun 2007
    Location
    Spain
    Posts
    17
    Vote Rating
    0
    matienzar is on a distinguished road

      0  

    Default GXT3: I18N in DateField

    GXT3: I18N in DateField


    Hi,

    How can I use I18N with DateField component? I've this in gwt.xml file:

    Code:
        
    <extend-property name="locale" values="es_ES"/>
    <set-property-fallback name="locale" value="es_ES"/>
    <set-property name="locale" value="es_ES"/>
    It shows in english language.

    What I'm doing wrong?
    Marcial Atiénzar Navarro
    Analista de Sistemas de Información

    matienzar@umivale.es
    www.umivale.es
    www.sumaintermutual.es

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Which version of GXT are you using?

    We are not proving translations for all locales directly. Depending on the answer of the first question we can look more deeply into it.

  3. #3
    Ext GWT Premium Member matienzar's Avatar
    Join Date
    Jun 2007
    Location
    Spain
    Posts
    17
    Vote Rating
    0
    matienzar is on a distinguished road

      0  

    Default


    I've post it in the subject of the post, GXT 3 Final Release
    Marcial Atiénzar Navarro
    Analista de Sistemas de Información

    matienzar@umivale.es
    www.umivale.es
    www.sumaintermutual.es

  4. #4
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Quote Originally Posted by matienzar View Post
    I've post it in the subject of the post, GXT 3 Final Release
    Sorry i missed that in the subject.


    The translations can be found in the com.sencha.gxt.messages.client package. However, there is a translation for "es" in place. Are you using any other i18n stuff that is working from your own application?

  5. #5
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I added the provided code to the explorer example and that changed all the GXT provided translations (including datefield) to the "es" locale.

  6. #6
    Ext GWT Premium Member matienzar's Avatar
    Join Date
    Jun 2007
    Location
    Spain
    Posts
    17
    Vote Rating
    0
    matienzar is on a distinguished road

      0  

    Default


    I cant't attach an screenshot to show you what it happens. The label for "Today" appears as "Hoy" (it's ok), but the month and days appears in English
    Marcial Atiénzar Navarro
    Analista de Sistemas de Información

    matienzar@umivale.es
    www.umivale.es
    www.sumaintermutual.es

  7. #7
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This is an information that was missing so far. So it only works for some cases.

    This is due to the hardcoded usuage of DefaultDateTimeFormatInfo. I am moving this to the bugs forum.

  8. #8
    Sencha User
    Join Date
    Nov 2013
    Location
    Firenze - Italy
    Posts
    2
    Vote Rating
    0
    mrespog is on a distinguished road

      0  

    Default I189N Missing italian translations in DataField

    I189N Missing italian translations in DataField


    Hi i'm developing with GXT 3.0.1. During mt developing I've noticed that for DateField some translations such as days and months are missing.
    I've looked in com.sencha.gxt.messages.client.XMessages_it.properties and i discover that it's not complete?
    I'd like to report this as a bug and ask if is planned to fix it.

    Thanks a lot
    --
    Bisogna avere in sé il caos per partorire una stella che danzi

    Friedrich Nietzsche

Thread Participants: 2

Tags for this Thread