language in new recaptcha

1,116 views
Skip to first unread message

Tomy Bombardier

unread,
Nov 28, 2014, 4:05:43 PM11/28/14
to reca...@googlegroups.com
Hi, I'm trying to show the captcha in french or  english but it always use the browser setting

I put the script call

but into the iframe I saw that
      
    </script>

then I get that
<label class="rc-anchor-checkbox-label rc-anchor-center-item" id="recaptcha-anchor-label">I'm not a robot</label>
It's not in french

I force the language in the script
var RecaptchaOptions = {
  lang : ($("html").attr("lang") == "en") ? 'en' : 'fr-CA'
};

but same result.

thank you for your suggestion

Tomy

Adam Abonyi

unread,
Nov 28, 2014, 7:16:34 PM11/28/14
to reca...@googlegroups.com
I have a similar issue <script src="https://www.google.com/recaptcha/api.js?hl=cs&onload=onloadCallback&render=explicit"></script> but recaptcha renders in english. When i add fallback=true then its czech but looks wrong.

Recaptcha Captcha

unread,
Dec 2, 2014, 5:08:47 PM12/2/14
to reCAPTCHA
This is now fixed.

ReCAPTCHA support

On Fri, Nov 28, 2014 at 7:16 PM, Adam Abonyi <adam....@gmail.com> wrote:
I have a similar issue <script src="https://www.google.com/recaptcha/api.js?hl=cs&onload=onloadCallback&render=explicit"></script> but recaptcha renders in english. When i add fallback=true then its czech but looks wrong.

--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+...@googlegroups.com.
To post to this group, send email to reca...@googlegroups.com.
Visit this group at http://groups.google.com/group/recaptcha.
For more options, visit https://groups.google.com/d/optout.



--
reCAPTCHA: stop spam, read books
http://www.google.com/recaptcha

Tomy Bombardier

unread,
Dec 2, 2014, 8:25:28 PM12/2/14
to reca...@googlegroups.com
Thanks, it work well after the fix

Regard, Tomy

Ram

unread,
Dec 5, 2014, 2:11:25 AM12/5/14
to reca...@googlegroups.com
How do we use multiple language in script tag? like below one...


     var onloadCallback = function() {                                                             
                        grecaptcha.render('captchadiv', {
                          'sitekey' : 'my-key'
                        });
                        grecaptcha.hl = 'fr';         
                    
            };

deamici...@gmail.com

unread,
Mar 25, 2016, 4:43:35 AM3/25/16
to reCAPTCHA

Hi all,
is anywhere an example or tutorial about to set a language other than english on reCaptcha ?

I'm getting crazy with any kind of script, but it always renders me english messages, not my language.
Thanks in advance.
Reply all
Reply to author
Forward
0 new messages