Re: Support Thread for Google reCAPTCHA
Hi David,
I've got multiple languages (English, Japanese) on my site, and browser detection does not work. I've had to change the reCaptcha code in
Code:
includes/functions/extra_functions/recaptchalib.php
to the following:
PHP Code:
if ($_SESSION['languages_id'] == 1) {
$recaptcha_html.='<script src="https://www.google.com/recaptcha/api.js" async defer></script>'."\n";
}
if ($_SESSION['languages_id'] == 3) {
$recaptcha_html.='<script src="https://www.google.com/recaptcha/api.js?hl=ja" async defer></script>'."\n";
}
which is probably not great, but there you go.
Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0