• I want to use ” No CAPTCHA reCAPTCHA ” plugin for my multilanguage website , in setting we can select language ( ????? , English (United States) and Auto Detect ) but when i choose Auto Detect for multilanguage , It set English language for my website . What should I do for this problem ?

    So Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Collins Agbonghama

    (@collizo4sky)

    Sorry, the auto detection is done by Google. If it isn’t working for you properly, there isn nothing i can do at my end.

    Thread Starter mahtabpi

    (@mahtabpi)

    Hi

    okay , I don’t choose auto detect option and just use this code :

    add_action( ‘wpcf7_enqueue_scripts’, ‘custom_recaptcha_enqueue_scripts’, 11 );

    function custom_recaptcha_enqueue_scripts() {
    wp_deregister_script( ‘google-recaptcha’ );

    $url = ‘https://www.google.com/recaptcha/api.js’;
    $url = add_query_arg( array(
    ‘onload’ => ‘recaptchaCallback’,
    ‘render’ => ‘explicit’,
    ‘hl’ => ‘fa’ ), $url );

    wp_register_script( ‘google-recaptcha’, $url, array(), ‘2.0’, true );
    }

    but this code not work for me , too . Now what do I do for it ?

    • This reply was modified 8 years, 4 months ago by mahtabpi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to set “Auto Detect” language in “No CAPTCHA reCAPTCHA” Plugin for multilang’ is closed to new replies.