Open GoogleCodeExporter opened 8 years ago
Arg, I'm sorry! I thought I was submitting to the reCaptcha group, not the
libraries/plugins group!
Original comment by bob.card...@gmail.com
on 9 Feb 2012 at 6:48
Good news everyone! If anyone has reached this issue (even though I mistakenly
created it here), I have some more info that will help you. A clue left by one
of the posters in
https://groups.google.com/d/topic/recaptcha/cFvBBhUonOA/discussion led me to
discover that if you really want to override the language (which it sounds like
maybe there's no need to do anymore), you can do so by appending a value with
key "hl" to your challenge script query string. So where you now have:
<script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=your_public_key" />
if you want to force, say, French, you could do:
<script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=your_public_key&hl=fr" />
(only difference is the "&hl=fr" at the end there)
Original comment by bob.card...@gmail.com
on 9 Feb 2012 at 7:08
I think this problem is caused by the recaptcha.js.
If you look at this file, you will find this:
getLang_:function(){return "undefined" != typeof RecaptchaState &&
RecaptchaState.lang?RecaptchaState.lang:RecaptchaOptions.lang?RecaptchaOptions.l
ang:null}
As you see, the order of RecaptchaState and RecaptchaOptions is inversed,
because the js need to look first to options, if is null, then to state.
Original comment by jeison.s...@gmail.com
on 29 Feb 2012 at 4:15
.NET library has been updated to add the workaround query string parameter if
language parameter is set. Thanks!
Original comment by adrian.g...@gmail.com
on 30 Mar 2012 at 5:44
Can you please update the nuget package as well?
Original comment by denis.vu...@gmail.com
on 23 Nov 2012 at 7:20
Original issue reported on code.google.com by
bob.card...@gmail.com
on 9 Feb 2012 at 6:24Attachments: