• Resolved mcclausky

    (@mcclausky)


    Hi!

    I was able to successfully translate the messages “Please verify that you are not a robot”. However, I would like to know how can I change the language of the reCaptcha. I’m referring to the message “I’m not a robot” and also the language for the images challenges.

    Your help will be appreciated.

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

    (@iqcomputing)

    Hello,

    Unfortunately, the “I’m not a robot” and the image challenge text is part of the reCaptcha iframe on Google’s side, which we don’t have access to change. Google does translate this text based on the website’s set language through Settings. The text is only translatable though, and not something Google allows us to change through their API.

    Hopefully, the above answers your questions. Should you need further assistance, please reply back to this thread, and we can assist you further. Have an excellent rest of your week!

    The only way i found to manualy change the language of “I’m not a robot” text is to change the core code of the plugin in the file \wp-content\plugins\wpcf7-recaptcha\recaptcha-v2.php

    You need to change
    'hl' => esc_attr( get_locale() );
    to for example
    'hl' => 'uk_UA';

    Maybe there are some hook to do it more elegant?

    • This reply was modified 2 years, 1 month ago by Korveld.
    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    The locale is based on the WordPress Installed site language set in Settings. There is a filter for that locale in get_locale() function.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change reCaptcha language’ is closed to new replies.