Reputation: 4612
I'm using the ReCaptcha ASP.Net user control and I was wondering if anyone is aware of a way of setting custom language strings for the control from markup.
I know how to do it if I'm not using the user control, e.g. setting the RecaptchaOptions javascript variable, but the user control writes its own variable and uses that so that solution won't work, or haven't when I tried anyway.
Thanks in advance.
Upvotes: 3
Views: 1012
Reputation: 9503
If you are happy to use the supported languages that are built in, this SO question is asking how to set the language using the user control (added in 1.0.5) which I think exposes a publish Lang
property.
According to the customisations page from the recaptcha site, the supported languages are: English, Dutch, French, German, Portuguese, Russian, Spanish, Turkish
Otherwise, you're going to have to use javascript...if you have created the recaptcha control before using javascript, you could create your own user control, or you could perhaps modify the source (for yourself) of the user control that is provided.
Upvotes: 1