Results 1 to 2 of 2

Thread: wrong DateField translation

  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    0
      0  

    Default 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
    6,154
    Vote Rating
    247
      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
    });

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •