Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #610213

    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

    #610218

    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

    #610295

    It works, thanks !
    Hope you will make the strings available for the standard translation process, in a future release.
    Cheers
    Bérangère

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Can't translate placeholder in Contact Form Datepicker’ is closed to new replies.