• Resolved jpollie

    (@jpollie)


    Hello i love this plugin but cant figure the change language out. I would like to change the name of the month and the name of the days. I have tried to follow the manual.

    This works

    jQuery(document).ready(function($) {
    $(“#datepicker”).datepicker({ dateFormat: “DD, d MM, yy”}).val()
    });

    But now i want to change the language

    Does not work: what is the correct way??

    jQuery(document).ready(function($) {
    $(“#datepicker”).datepicker({ dateFormat: “DD, d MM, yy”}).val()
    $(“#datepicker”).datepicker({ dayNames:[ “Dimanche”, “Lundi”, “Mardi”, “Mercredi”, “Jeudi”, “Vendredi”, “Samedi”]
    });
    });

    https://www.ads-software.com/plugins/jquery-ui-widgets/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author David Gwyer

    (@dgwyer)

    The plugin needs to have translation support which it should have in the next release.

    Thread Starter jpollie

    (@jpollie)

    Thank you, I already fixed it.

    jQuery(document).ready(function($) {
        $( "#datepicker" ).datepicker({
          numberOfMonths: 2,
          showButtonPanel: false,
          dateFormat: "DD, d M yy",
          dayNames: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
          monthNames: ["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"]
        });
      });
    Plugin Author David Gwyer

    (@dgwyer)

    Just marking this as resolved.

    Plugin Author David Gwyer

    (@dgwyer)

    Just marking this as resolved.

    Plugin Author David Gwyer

    (@dgwyer)

    Plugin is now translatable! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change language of days’ is closed to new replies.