Posted: October 8, 2013 at 3:54 am
|
Hello,
|
|
Hi, There isn’t a simple way to do this yourself. You would need to download and include the correct jquery.datepicker language file (probably best via the custom files addon) and then modify the .datepicker jQuery dotted about the plugin (e.g. add_new_event.php and edit_event.php) to reflect the new language request. |
|
Thanks, that was easy. I just changed the code on the 2 pages and it was working. <code>jQuery(".datepicker" ).datepicker({ changeMonth: true, changeYear: true, dateFormat: "dd-mm-yy", showButtonPanel: true, prevText: '<zurück', prevStatus: '', prevJumpText: '<<', prevJumpStatus: '', nextText: 'Vor>', nextStatus: '', nextJumpText: '>>', nextJumpStatus: '', currentText: 'heute', currentStatus: '', todayText: 'heute', todayStatus: '', clearText: '-', clearStatus: '', closeText: 'schließen', closeStatus: '', monthNames: ['Januar','Februar','März','April','Mai','Juni', 'Juli','August','September','Oktober','November','Dezember'], monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', 'Jul','Aug','Sep','Okt','Nov','Dez'], dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], showMonthAfterYear: false }); </code> |
|
sorry code came out wrong and i cant edit it anymore either…. |
The support post ‘datepicker localization’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.