Created on 26 January 2017, about 8 years ago
Updated 9 December 2023, over 1 year ago

The current implementation does not follow the language mapping specified here:

https://developers.google.com/recaptcha/docs/language

I would be happy to write a routine that maps between the Drupal language codes and the reCAPTCHA language codes.

In the mean time, is there a Drupal HOOK that would allow me to change:

<script src="https://www.google.com/recaptcha/api.js?hl=zh-hans" async defer></script>

to:

<script src="https://www.google.com/recaptcha/api.js?hl=zh-CN" async defer></script>

in the of a page? I tried MODULE_library_alter() from MODULE.theme but could not make the needed change.

✨ Feature request
Status

Closed: outdated

Version

2.0

Component

General

Created by

πŸ‡ΊπŸ‡ΈUnited States Greg Sims

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024