• Please add translate for message “The date of birth must be a valid date” which show up after verification with blank dropdown inputs.

    Thank you very much.

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @airbees,

    Yes I’ll get that added – it has some languages built in but not all so will get it in the settings.

    While I’m doing that, you can translate it with a filter in your functions.php like this:

    
    add_filter('age_gate/validation/messages', function($messages) {
        $messages['date'] = 'Your error message';
    
        return $messages;
    });
    

    Thanks
    Phil

Viewing 1 replies (of 1 total)

The topic ‘Function request – Translate’ is closed to new replies.