ReCaptcha V3 - is there any way to translate the recaptcha message? | Community
Skip to main content
LeaCharnley
Level 3
October 30, 2024
Solved

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

  • October 30, 2024
  • 1 reply
  • 1330 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

This text is hard-coded and will not respond to browser language —

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

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
October 31, 2024

This text is hard-coded and will not respond to browser language —

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

LeaCharnley
Level 3
November 11, 2024

@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
November 11, 2024

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; }