THIS THREAD HAS BEEN CLOSED.

[Tut] How to change the language of Recaptcha featured on FreelanceEngine

Updated on Jun 23, 2016 in FreelanceEngine
0 on Jun 23, 2016

Add this code into child-theme/functions.php file to set the Catpcha language to japan

add_action('wp_enqueue_scripts', 'cs_print_scripts', 8);
function cs_print_scripts(){
 if(ae_get_option('gg_captcha', false) && ae_get_option('gg_site_key') && !current_user_can('manage_options')){
     wp_enqueue_script('recaptcha', '//www.google.com/recaptcha/api.js?hl=ja', array(),'', true );
  }
}

Full code in child-theme/functions.php file

For another language, just change the ja code to another code.

 

Language code for refer https://developers.google.com/recaptcha/docs/language 

 

 

  • Liked by
Loading more replies
Posting & Replying function will be deactivated from 3pm GMT+7 12th Sep.
Read More