Hello,

Mollom is a great service. But if you are using a translated site, and you switch to an audio captcha, the "link" text (verify using image) switches to English.

Thanks!

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gold’s picture

Version: 7.x-1.1 » 7.x-2.x-dev
Issue tags: +i18n

This is still an issue and we've just come across this on a current project. Odds are high I'll be looking into this in the next week or so. Bumping the version to the one I'll hopefully be patching against and bumping to let it be known that this is still a current issue.

The investigation I've done to date shows it to be an issue with the AJAX call not being locale compatible. D7 has good support for AJAX-enabled forms that, supposedly, supports i18n out of the box.

Note To Self: http://drupal.org/node/752056

sun’s picture

Priority: Normal » Major

I encountered an additional bug report that the audio CAPTCHA URL currently causes a redirect on multilingual sites using a path prefix.

Unfortunately, jQuery seems to turn the original POST request into a GET request when following that redirect, so in turn, it runs into the JSON security protection of the page callback.

That said, I'm confused and need to debug + test some more myself, because the current JS code contains the following already:

  $.ajax({
    url: Drupal.settings.basePath + path,
sun’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
378 bytes

Attached patch fixes this bug on D7.

D6 will be a little bit harder, since IIRC, Drupal.settings.pathPrefix was only added in D7 core.

sun’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
FileSize
1.26 KB

Backport for D6.

sun’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Status: Needs review » Fixed

Thanks for reporting, reviewing, and testing! Committed to all branches.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

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

  • Commit b7640ec on 7.x-2.x, 8.x-2.x, fbajs, actions by sun:
    - #1348982 by sun: Fixed "verify using image/audio" strings are no...

  • Commit b7640ec on 7.x-2.x, 8.x-2.x, fbajs, actions by sun:
    - #1348982 by sun: Fixed "verify using image/audio" strings are no...