Support » Plugin: NS Comment Validator » Comment validation message is not translatable

  • Hi,

    at first: Thank you very much for this useful plugin!

    Unfortunately the error of the comment field can not be translated. It always shows:
    This field is required.

    The other outputs are fine

    Here is what I wrote inside the “Validation Messages” field:

    author:{
                  required : 'Bitte geben Sie Ihren Namen ein'
                },
                email:{
                  required : 'Bitte geben Sie Ihre E-Mail-Adresse ein',
                  email : 'Bitte überprüfen Sie das Eingabeformat'
                },
                url:{
                  url : 'Bitte überprüfen Sie das Eingabeformat'
                },
                comment:{
                  required : 'Bitte geben Sie Ihren Kommentar ein',
                  minlength : jQuery.format('Mindestlänge {0} Zeichen.')
                }

    Any idea what is going wrong?

    And unfortunately the plugin doesn’t remember the inputs when disabling and enabling again. So I think the inputs need to be checked with every update (WP and plugin).

    https://wordpress.org/plugins/ns-comment-validator/

Viewing 1 replies (of 1 total)
  • At first I thought it may be because of the special characters (German), but it’s the same, when I leave your original message (with new installation of the plugin)…

    this:

    comment:{
        required : 'Please enter comment!!',
        minlength : jQuery.format('Please enter at least {0} characters.')
    }

    echos that:
    This field is required.

    Edit:
    And even, when I change the text inside the
    ns-comment-validator.php

Viewing 1 replies (of 1 total)
  • The topic ‘Comment validation message is not translatable’ is closed to new replies.