Hello. Thank you for contacting the Toolset support.
There is no native way to change the captcha language but we can workaround it by adding custom Javascript code.
Can you please share on what page you want to change the language of the captcha (please share problem URL) and share admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I see the captcha on the following page:
=> hidden link
I see the following form is added with the above page:
=> hidden link
I've added the following custom JS code to above form's JS editor box:
jQuery(document).ready(function($){
setCaptchaLang('fr');
function setCaptchaLang(lang) {
const container = document.getElementsByClassName('g-recaptcha')[0];
// Get GoogleCaptcha iframe
const iframeGoogleCaptcha = container.querySelector('iframe');
// Get language code from iframe
const actualLang = iframeGoogleCaptcha.getAttribute("src").match(/hl=(.*?)&/).pop();
// For setting new language
if (actualLang !== lang) {
iframeGoogleCaptcha.setAttribute("src", iframeGoogleCaptcha.getAttribute("src").replace(/hl=(.*?)&/, 'hl=' + lang + '&'));
}
}
});
You should add the above custom JS code to whatever form you add captcha.
I can see it works as expected on the frontend: hidden link