SOLVED

Re: ReCaptcha V3 - is there any way to translate the recaptcha message?

Go to solution
LeaCharnley
Level 2

ReCaptcha V3 - is there any way to translate the recaptcha message?

Hi

When I used a previous version of ReCaptcha in forms on my website, the message would auto translate based on browser settings. With the integrated Captcha method in Marketo, my team in Germany tells me that doesn't appear to be the case. Does anyone know what I can do here?

Lea Charnley
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: ReCaptcha V3 - is there any way to translate the recaptcha message?

This text is hard-coded and will not respond to browser language ā€”

SanfordWhiteman_0-1730345575024.png

ā€” but you can simply hide this container (div.mktoCaptchaDisclaimer) and inject your own localized Rich Text area.

View solution in original post

3 REPLIES 3
SanfordWhiteman
Level 10 - Community Moderator

Re: ReCaptcha V3 - is there any way to translate the recaptcha message?

This text is hard-coded and will not respond to browser language ā€”

SanfordWhiteman_0-1730345575024.png

ā€” but you can simply hide this container (div.mktoCaptchaDisclaimer) and inject your own localized Rich Text area.

LeaCharnley
Level 2

Re: ReCaptcha V3 - is there any way to translate the recaptcha message?

@SanfordWhiteman - Google does support some languages, and gives this script:

<script type="text/javascript">var RecaptchaOptions = {   lang : 'fr',};</script>

I've tried to put this on page and into the head of my site, but it doesn't seem to work. Where would I hide the container you describe?

Lea Charnley
SanfordWhiteman
Level 10 - Community Moderator

Re: ReCaptcha V3 - is there any way to translate the recaptcha message?

That script has no effect in this context. That's why I said you can't change the text in the default container.

Hide the default container using Custom CSS.

div.mktoCaptchaDisclaimer {
  display: none;
}