1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    0
    BarbaraM is on a distinguished road

      0  

    Default wrong DateField translation

    wrong DateField translation


    I included in my app the ext "/locale/ext-lang-it.js" that i need for my scope.

    I used datefield and it works correctly, but I cant' find how to modify days title...

    See the image: http://imgur.com/V4TTp9A

    I need title "M T W T F S S" changed in italian "L M M G V S D"
    Also, I need tooltip in italian and not in english as shown in image.

    Any help?

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,032
    Vote Rating
    185
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    I'm hearing that this is a known bug and is on the fix-list.
    In the meantime you can use this as an override:

    Code:
    Ext.define("Ext.locale.en.picker.Date", {
        override: "Ext.picker.Date",
        todayText: "Oggi",
        minText: "Data precedente alla data minima",
        maxText: "Data successiva alla data massima",
        disabledDaysText: "", 
        disabledDatesText: "", 
        monthNames: Ext.Date.monthNames,
        dayNames: ["Domenica", "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato"],
        nextText: 'Mese successivo (Control+Destra)',
        prevText: 'Mese precedente (Control+Sinistra)',
        monthYearText: 'Scegli un mese (Control+Sopra/Sotto per cambiare anno)',
        todayTip: "{0} (Barra spaziatrice)",
        format: "d/m/Y",
        startDay: 1
    });

Thread Participants: 1

Tags for this Thread