neo neo - 1 year ago 145
Javascript Question

Setting reCAPTCHA Version 2 set another language other than English

enter image description here

How can I set this in another language, ie:. French

I've tried:

var RecaptchaOptions = {
lang : 'fr',

Found above here

Which does nothing.

I couldn't find relevant info under API Reference -> Version 2 on Google Docs for reCAPTCHA

Additional information:

I'm using this on rails, with
gem "recaptcha"
Found here

Answer Source

You just need to specify the parameter "?hl=" in the script's url:

<script src=''></script>

Not very well documented, indeed!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download