Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #169546

    Hello,

    I´m having some difficulties translating the calendar, can you help me?

    I´m sending an image that shows the words that I could not find at .pot file for translation. I´m using PoEdit and the .pot file from version 2.3.1.

    Translation

    Thanks,
    Fabiana.

    #170360

    Hello faterra!

    You can change the date format and placeholder text with following code- add it to the bottom of functions.php and replace DD / MM / YY with a date format of your choice

    
    add_filter('avf_datepicker_dateformat', 'avia_change_dateformat_cf');
    add_filter('avf_datepicker_date_placeholder', 'avia_change_placeholder_cf');
    
    function avia_change_dateformat_cf() { return  'dd / mm / yy'; }
    function  avia_change_placeholder_cf() { return  'DD / MM / YY'; }
    

    The prev/next button is not translatable at the moment – we’ll fix this in the next update.

    Cheers!
    Peter

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Translating the Calendar’ is closed to new replies.