I need to translate the calendar shown in a date field into Spanish and also I need the weeks to start on monday not on sunday. How could I do that?
Here is the page where I have the form, in case you need to take a look.
Here is the datepicker we use, and I've specifically linked to the Localization section: http://jqueryui.com/datepicker/#localization
I'll take a look, thanks for the quick response.
I've checked the Datepicker widget documentation and I've learned that I have to use this line of code:
$( ".selector" ).datepicker({ firstDay: 1 });
But where do I put it?
You would put it in your theme's header.php file wrapped in script tags.
Sort it, thanks.
Glad to hear it. All my best!
Someone sent me an email asking how did I fix it. Well I'll publish here what I did in case anyone else need it:
We would advise against editing the plugin files as any changes made would be lost during plugin updates, here's the page from the documentation about where to put custom code: http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F
If after reading the jQuery UI documentation anyone still requires assistance with localizing the datepicker please open a new support ticket or a priority support ticket if you are a developer license holder. Thank you.