Tagged: datepicker, translation
Hello,
I’m using a contact form with datepicker on a French site.
The datepicker is well translated in French, except the placeholder. I would like to replace DD / MM / YY by JJ / MM / AA.
http://www.berangere-test.fr/besoin-de-formation/
I have tried to translate using Poedit, but I could not find the placeholder string (total or partial) in the .po file.
I have checked other threads on the same topic but have not found any clear solution.
Thanks for your help
Bérangère
Hey caudebert!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_datepicker_date_placeholder','new_datepicker_placeholder');
function new_datepicker_placeholder() {
$placeholder = " JJ / MM / AA ";
return $placeholder;
}
Cheers!
Yigit
It works, thanks !
Hope you will make the strings available for the standard translation process, in a future release.
Cheers
Bérangère