1 /* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
2 /* Javad Mowlanezhad -- jmowla@gmail.com */
3 /* Jalali calendar should supported soon! (Its implemented but I have to test it) */
5 if ( typeof define === "function" && define.amd ) {
7 // AMD. Register as an anonymous module.
8 define([ "../datepicker" ], factory );
12 factory( jQuery.datepicker );
14 }(function( datepicker ) {
16 datepicker.regional['fa'] = {
18 prevText: '<قبلی',
19 nextText: 'بعدی>',
35 monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
64 dateFormat: 'yy/mm/dd',
67 showMonthAfterYear: false,
69 datepicker.setDefaults(datepicker.regional['fa']);
71 return datepicker.regional['fa'];