Support › General › Date field localization
The date field is in english and a didn't find a way to translate it.
Can you tell me the right way to do ?
Date format can be changed by adding dateFormat to js_options array (See here). You can create a function to check the language of website then return the date format.
I already used dateFormat option.
I want to localize everything in the js calendar (pointed in red in the image below)
The language of date picker calendar is based on the language of your website in Settings > General > Site Language.
Settings > General > Site Language
The website is already in French in Settings > General > Site Language.
I checked and i can say that the localization does not work with MB Frontend Submission (it works only in admin).
Can you fix it please ?
Sorry, I found the problem. The function wp_localize_jquery_ui_datepicker() has not been called when jquery-ui-datepicker is enqueued. Please update MB Frontend Submission to the latest version.
It works now
Awesome support !
Thank you !!!