Translating reCAPTCHA branding when badge is invisible

Created on 9 August 2023, over 1 year ago

Problem/Motivation

We are allowed to hide the badge as long as you include the reCAPTCHA branding visibly in the user flow.
In my case, I have a multilingual website which I need to translate the below:

This site is protected by reCAPTCHA and the Google
Privacy Policy and
Terms of Service apply.

But when trying to translate it in "User interface translation" I get an error

"The submitted string contains disallowed HTML:

هذا الموقع محمي بواسطة reCAPTCHA و Google سياسة الخصوصية and Tشروط الخدمة.

"

Steps to reproduce

  1. Create a webform
  2. Add simple recaptcha webform handler
  3. Check "Hide reCAPTCHA badge"
  4. Try to translate the reCAPTCHA branding
  5. ERROR: The submitted string contains disallowed HTML....

Proposed resolution

To exclude the disallowed HTML from the translated string

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Component

Code

Created by

🇯🇴Jordan ammar qala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024