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!

Files: 
CommentFileSizeAuthor
#4 mollom.captcha-switch-language.patch1.26 KBsun
PASSED: [[SimpleTest]]: [MySQL] 5,809 pass(es).
[ View ]
#3 mollom.captcha-switch-language.patch378 bytessun
PASSED: [[SimpleTest]]: [MySQL] 6,477 pass(es).
[ View ]

Comments

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

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,

Issue summary:View changes
Status:Active» Needs review
StatusFileSize
new378 bytes
PASSED: [[SimpleTest]]: [MySQL] 6,477 pass(es).
[ View ]

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.

Version:7.x-2.x-dev» 6.x-2.x-dev
StatusFileSize
new1.26 KB
PASSED: [[SimpleTest]]: [MySQL] 5,809 pass(es).
[ View ]

Backport for D6.

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.