• Plugin Author Mrinal Roy

    (@mkrdip)


    Hi All,

    A common question to me about this plugin is how the error strings can be translated into your own language.

    It’s so easy, the jQuery fix should be like the following:

    (function($){
      $(".comment-form-author div.error").text("Your Name Please");
      $(".comment-form-email div.error").text("Your Email Please");
      $(".comment-form-comment div.error").text("Your Comments Please");
    })(jQuery);

    Add the above codes via Theme’s Custom JS Panel using plugin like Custom JavaScript Editor

    Tested on WordPress Default Themes, e.g: Twenty – Fifteen, Fourteen, Thirteen, Twelve, Eleven, Ten!

    Hope this will helps, Cheers!

    https://wordpress.org/plugins/instant-comment-validation/

  • The topic ‘Translate the error strings’ is closed to new replies.