It would be great to have reCAPTCHA in other languages apart than English, although it is more an issue of the recaptcha.net team. I have read in their FAQ that they intend to do it in a future:

- Can I get reCAPTCHA in other languages? We are working very hard on this. The main stumbling block for internationalization is the audio version, which currently exists in English only. In the following months, we expect to release more languages. Notice, however, that users don't need to know English to read the words in the images: as long as their keyboards contain letters used in the English alphabet, everything should be fine.

CommentFileSizeAuthor
#4 recaptcha.module-i18n.patch1.1 KBidmacdonald

Comments

robloach’s picture

Title: Module localization » Module Localization
Status: Active » Postponed

Once reCAPTCHA supports multiple languages, we'll take a look at it.

robloach’s picture

Status: Postponed » Active

They support localization now through Javascript.... Passing lang="%langcode%" to it will get it localized (see more). This should be easy to get working by checking if Locale is enabled, and then get the language code of the currently used language.

To be put into both 5.x and 6.x branches.

robloach’s picture

Version: » 5.x-2.x-dev
idmacdonald’s picture

StatusFileSize
new1.1 KB

Hi,

I have created a patch against 5.x-2.5 which get the current language from the i18n module, truncates it to two characters (the reCAPTCHA language codes do not include country versions), and checks it against a list of supported languages. If the current language is supported it adds the 'lang' parameter to the javascript that is passed via the reCAPTCHA API.

It could be interesting to add a configuration option to set the default language to be used when the current i18n language is not supported by the reCAPTCHA engine. But all the languages I'm interested in are currently supported, so I'll leave that for someone else to implement.

-Ian

idmacdonald’s picture

Note that my patch above just changes the language of the interface, but audio still is always in English, as far as I know. I think the reCAPTCHA developers are working on other localisations of the audio captcha.

-Ian

liam morland’s picture

Status: Active » Closed (won't fix)

Versions prior to Drupal 6 are no longer supported. If this issue still exists in a supported version, please re-open and provide details.