Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    88
    Vote Rating
    3
    esag_dk is on a distinguished road

      0  

    Default Internalization not complete

    Internalization not complete


    There are some strings that haven't been internationalized yet (at least not for the german language). For example grid filtering strings ("Filters", "Enter filter text..." etc.). Will this be fixed in the next release? Is there any way to use my own XMessages.properties local file as a workaround without having to compile GXT?

    Edit: I figured out how to override the file as a workaround.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    To those who haven't worked out how to override the file, the most straightforward way is to make a XMessages_mylocale.properties file in your project, at the same package as the GXT version: com.sencha.gxt.messages.client.

  3. #3
    Sencha User
    Join Date
    Aug 2012
    Posts
    3
    Vote Rating
    0
    oarrua88 is on a distinguished road

      0  

    Default


    This solution enables complete the missing messages for validations. For example: Regex no validation message.

    "textField_regexText" haven't message.


    Try this:

    Code:
    TextField<String> textField = new TextField<String>(){
                @Override
                public TextFieldMessages getMessages() {
                    super.getMessages().setRegexText("Caracteres inválidos");
                    return super.getMessages();
                }
            };

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    130
    Vote Rating
    12
    Andreas Samjeske will become famous soon enough

      0  

    Default


    German locale shows mixture of old and new spelling rules.
    According to old spelling rules correct:
    Code:
    dateField_minText=Das Datum in diesem Feld muß nach dem {0} liegen
    According to new spelling rules correct:
    Code:
    timeField_minText=Die Zeit in diesem Feld muss gleich {0} sein oder dahinter liegen
    Imho, you should prefer using the new spelling rules.

  5. #5
    Sencha User
    Join Date
    Jul 2011
    Posts
    130
    Vote Rating
    12
    Andreas Samjeske will become famous soon enough

      0  

    Default


    Quote Originally Posted by Andreas Samjeske View Post
    German locale shows mixture of old and new spelling rules.
    According to old spelling rules correct:
    Code:
    dateField_minText=Das Datum in diesem Feld muß nach dem {0} liegen
    According to new spelling rules correct:
    Code:
    timeField_minText=Die Zeit in diesem Feld muss gleich {0} sein oder dahinter liegen
    Imho, you should prefer using the new spelling rules.
    Here is our XMessages_de.prop file for GXT 3.1 (some spelling corrections and some additional translation, most of them for GridFilters):
    Code:
    #
    # Sencha GXT 3.1.0 - Sencha for GWT
    # Copyright(c) 2007-2014, Sencha, Inc.
    # licensing@sencha.com
    #
    # http://www.sencha.com/products/gxt/license/
    #
    # UpdateManager
    updateManager_indicatorText=Übertrage Daten ...
    
    # Grid
    grid_ddText={0} Zeile(n) ausgewählt
    
    # TabPanelItem
    tabPanelItem_closeText=Diesen Tab schließen
    tabPanelItem_closeOtherText=Alle anderen Tabs schließen
    
    # Field
    field_invalidText=Der Wert des Feldes ist nicht korrekt
    
    # LoadMask
    loadMask_msg=Übertrage Daten...
    
    # MessageBox
    messageBox_ok=OK
    messageBox_cancel=Abbrechen
    messageBox_yes=Ja
    messageBox_no=Nein
    messageBox_close=Schließen
    
    # DatePicker
    datePicker_todayText=Heute
    datePicker_minText=Dieses Datum liegt von dem erstmöglichen Datum
    datePicker_maxText=Dieses Datum liegt nach dem letztmöglichen Datum
    datePicker_disabledDaysText=
    datePicker_disabledDatesText=
    datePicker_nextText=Nächster Monat (Strg/Control + Rechts)
    datePicker_prevText=Vorheriger Monat (Strg/Control + Links)
    datePicker_monthYearText=Monat auswählen (Strg/Control + Hoch/Runter, um ein Jahr auszuwählen)
    datePicker_todayTip=Heute ({0}) (Leertaste)
    datePicker_okText=&#160;OK&#160;
    datePicker_cancelText=Abbrechen
    datePicker_startDay=0
    
    # PagingToolBar
    pagingToolBar_beforePageText=Seite
    pagingToolBar_afterPageText=von {0}
    pagingToolBar_firstText=erste Seite
    pagingToolBar_prevText=vorherige Seite
    pagingToolBar_nextText=nächste Seite
    pagingToolBar_lastText=letzte Seite
    pagingToolBar_refreshText=Aktualisiere
    pagingToolBar_displayMsg=Einträge {0} - {1} von {2} werden angezeigt
    pagingToolBar_emptyMsg=Keine Daten vorhanden
    
    # TextField
    textField_minLengthText=Bitte geben Sie mindestens {0} Zeichen ein
    textField_maxLengthText=Bitte geben Sie maximal {0} Zeichen ein
    textField_blankText=Dieses Feld darf nicht leer sein
    textField_regexText=
    textField_emptyText=
    
    # NumberField
    numberField_minText=Der Mindestwert für dieses Feld ist {0}
    numberField_maxText=Der Maximalwert für dieses Feld ist {0}
    numberField_nanText={0} ist keine Zahl
    
    # DateField
    dateField_disabledDaysText=nicht erlaubt
    dateField_disabledDatesText=nicht erlaubt
    dateField_minText=Das Datum in diesem Feld muss nach dem {0} liegen
    dateField_maxText=Das Datum in diesem Feld muss vor dem {0} liegen
    dateField_invalidText={0} ist kein gültiges Datum - es muss im Format {1} eingegeben werden
    dateField_format=d.m.Y
    dateField_altFormats=d.m.Y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d
    
    # ComboBox
    comboBox_loading=Lade Daten ...
    
    # TimeField
    timeField_minText=Die Zeit in diesem Feld muss gleich {0} sein oder dahinter liegen
    timeField_maxText=Die Zeit in diesem Feld muss gleich {0} sein oder davor liegen
    timeField_invalidText={0} ist keine gültige Zeit - sie muss im Format {1} eingegeben werden
    timeField_format=g:i A
    timeField_altFormats=g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H
    
    #GridView
    gridView_sortAscText=Aufsteigend sortieren
    gridView_sortDescText=Absteigend sortieren
    gridView_columnsText=Spalten
    
    #GroupingView
    groupingView_emptyGroupText=(Keine)
    groupingView_groupByText=Dieses Feld gruppieren
    groupingView_showGroupsText=In Gruppen anzeigen
    
    # PropertyColumnModel
    propertyColumnModel_nameText=Name
    propertyColumnModel_valueText=Wert
    
    # BorderLayout
    borderLayout_splitTip=Ziehen, um Größe zu ändern.
    borderLayout_collapsibleSplitTip=Ziehen, um Größe zu ändern. Doppelklick um Panel auszublenden.
    
    # ThemeSelector
    themeSelector_blueTheme=Blaues Theme
    themeSelector_grayTheme=Graues Theme
    
    #GridFilters
    gridFilters_filterText=Filter
    
    #Filters
    stringFilter_emptyText=Filtertext eingeben...
    numericFilter_emptyText=Zahl eingeben...
    booleanFilter_noText=Nein
    booleanFilter_yesText=Ja
    dateFilter_afterText=nach
    dateFilter_beforeText=vor
    dateFilter_onText=am
    
    # FileUploadFild
    uploadField_browseText=Durchsuchen...
    Feel free to use it.

  6. #6
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Thanks Andreas - can you email me directly at colin.alworth@sencha.com so that I have you sign a CLA so that we can use these without any legal concerns?