Ok, my issue was that the reCAPTCHA wasn't showing on forms when in other languages than default.

For a short story, I'm just beginning my setup of Drupal, the is by default in french but also provide english and spanish.

The first issue I remarked was that on the default french viewing, the reCAPTCHA was showing in english, I first thought it was due to a missing configuration option on my reCAPTCHA google setup...

But I got really worried when tuning thing for english and spanish as the reCAPTCHA box picture wasn't showing on these pages although the CAPTCHA form include was there with the right text language of the configurable challenge sentence.

I found my solution by unchecking the "Use the AJAX API to display reCAPTCHA." that was set "On" by default at install in the reCAPTCHA setting tab.

This resolved both problems, the reCAPTCHA is now showing whether we are in the default or other languages, but also show it's box picture in the right language asked to Drupal.

So, I think the issue would be to look at this AJAX use to see why it doesn't handle well other languages...
Thank you for all those who worked on this usefull module!
Salutations, HUB

(I'm volunteer to test an eventual patch...)


tutnix’s picture

2.08 KB

The problem is, that the ajax version does not use the language spcification at all in the call.

The 7.x Version does also have this problem but for that i came up with the following patch. The difference between 7.x and 6.x should only be line numbers. Maybe it will be of some help in the future.

Skidz’s picture

Version: 6.x-1.5 » 6.x-1.7

I've got the same problem, only reCaptcha displays in English only regardless of current language. Oddly enough, when I go to the examples section in admin/user/captcha, the example shown is in the correct language.

Could this be an issue with my module ? I'm using it for FAQ_Ask, which has localization issues itself...

00091701’s picture

Version: 6.x-1.7 » 7.x-1.7
Component: General » User interface


I have the same problem with german.
The link to the patch (comment #1) is dead.


RobLoach’s picture

Version: 7.x-1.7 » 7.x-1.x-dev
Status: Active » Needs review
Liam Morland’s picture

Status: Needs review » Needs work

The patch no longer applies. Please re-roll from the latest dev version.

Liam Morland’s picture

Status: Needs work » Fixed
1.38 KB

Fixed in 172ddf3. Patch attached.

Liam Morland’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)
smartango’s picture

actually not fixed in 7.x-1.10
there is problem with a language, French, that do not show reCaptcha.
The recaptcha is not shown even enabling "use ajax" flag, I suppose is something different, but someway related.

  • Liam Morland committed 172ddf3 on 7.x-1.x, 7.x-2.x
    Issue #1121244: Set lang option in Ajax mode.

hass’s picture

Issue summary: View changes
Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.