• Resolved joaopcos

    (@joaopcos)


    I’m trying to translate the contact form Captcha empty response using the PO/MO files, but at the form feedback, it always return “Please verify that you are not a robot.”.

    But when i type wpcf7iqfix into the console it seems that everything is fine, since the object returns:

    {recaptcha_empty: 'Por favor, verifique que você n?o é um rob?.', response_err: 'wpcf7-recaptcha: N?o foi possível verificar a resposta do reCaptcha.'}

    And when i submit the form, it returns the feedback:

    {
    "contact_form_id": 114,
    "status": "validation_failed",
    "message": "Um ou mais campos possuem um erro. Verifique e tente novamente.",
    "invalid_fields": [
    {
    "field": "contact-name",
    "message": "Preencha este campo.",
    "idref": null,
    "error_id": "wpcf7-f114-o1-ve-contact-name"
    },
    {
    "field": "contact-email",
    "message": "Preencha este campo.",
    "idref": null,
    "error_id": "wpcf7-f114-o1-ve-contact-email"
    },
    {
    "field": "contact-subject",
    "message": "Preencha este campo.",
    "idref": null,
    "error_id": "wpcf7-f114-o1-ve-contact-subject"
    },
    {
    "field": "contact-message",
    "message": "Preencha este campo.",
    "idref": null,
    "error_id": "wpcf7-f114-o1-ve-contact-message"
    },
    {
    "field": "recaptcha",
    "message": "Please verify that you are not a robot.",
    "idref": null,
    "error_id": "wpcf7-f114-o1-ve-recaptcha"
    }
    ],
    "posted_data_hash": "",
    "into": "#wpcf7-f114-o1"
    }

    Am i doing something wrong?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    We do see on your website that the validation message is not translating correctly. That specific string is used 3 times throughout the system (1, 2, 3) – each time it’s sent through the translation functions and has the correct domain passed. We’ll have to investigate this further to see what exactly is going on. Possibly reaching out to the core Polyglots team for assistance.

    Once we have more information we’ll reply back to this thread and let you know.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello @joaopcos

    Whenever you edit a Contact Form, there’s a Messages tab. Toward the bottom of this list should be a couple “reCaptcha” inputs to change the error messages. If you’re developer-savvy, you could use the wpcf7_messages hook to update these messages throughout.

    You can view the codebase to see how we implement these messages via the same filter hook. These are the messages Contact Form 7 uses in the validation $_POST callback.

    Hopefully, using the above you’re able to resolve your issue. If not, please reply back and we can investigate this issue further.

    Thread Starter joaopcos

    (@joaopcos)

    Hey @iqcomputing

    Didn’t noticed that i had the option to customize the specific message under the messages tab.

    Thank you, so much!

    • This reply was modified 4 months, 1 week ago by joaopcos.
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.