Use dynamic localization
-
I’d like to suggest setting the language of the captcha plugin dynamically. Change lines 609-610 of
google-captcha.php
to:$language = substr(get_locale(), 0, 2);
$api_url = sprintf( “https://www.google.com/recaptcha/api.js?%srender=explicit&hl=%s”, $callback, $language);This way the captcha will use whatever language that WordPress is using.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Use dynamic localization’ is closed to new replies.