neo neo - 4 months ago 55
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


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

<script src=''></script>

Not very well documented, indeed!