lundi 11 juillet 2016

Ember-g-recaptcha: how to change language settings

I am using Ember's recaptcha component to render Google's reCaptcha in a form. According to Google's docs, you can change the language of the recaptcha by adding the below code to your HTML, right before you render the recaptcha.

<script type="text/javascript">
var RecaptchaOptions = {
   lang : 'fr',
};
</script>

However, since I'm using Ember's recaptcha component I don't believe I actually have access to the HTML where I'm supposed to add this code. Is there some special way I'm supposed to change the language when using Ember's recaptcha component?

Thanks,

-DR

Aucun commentaire:

Enregistrer un commentaire