VividCortex / angular-recaptcha

AngularJS directive to add a reCaptcha widget to your form
http://vividcortex.github.io/angular-recaptcha/
MIT License
496 stars 257 forks source link

Any parameter to change error messages? #161

Open AmarieEA opened 8 years ago

AmarieEA commented 8 years ago

Is there any option for angular-recptcha to set custom error messages?

Like this:

<script type= "text/javascript">
var RecaptchaOptions = {
   custom_translations : { incorrect_try_again : "You did it wrong, try again." }
};
</script>

https://developers.google.com/recaptcha/old/docs/customization

TheSharpieOne commented 8 years ago

Unfortunately it looks like Google has not added that ability to the new version which this library supports. The link you used is for the old recaptcha, see https://developers.google.com/recaptcha/docs/display for the new documentation.

reduardo7 commented 8 years ago

Maybe this problem is solved with https://github.com/VividCortex/angular-recaptcha/pull/170, only for translate.