thiagocavaloti / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

Patch to allow python recaptcha-client to do i18n / change language #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The reCaptcha API supports setting the language of the recaptcha widget. 
However this is not supported in the current python client.

Here's a patch to r151 that allows one to specify an extra options dict. This 
allows you to set the language like this:

    displayhtml(..., options={'lang':'fr'})

This uses the json library, which is only in python 2.6+, is that a problem?

Original issue reported on code.google.com by ebelu...@gmail.com on 28 Mar 2011 at 3:03

Attachments: