Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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!
Comment | File | Size | Author |
---|---|---|---|
#4 | mollom.captcha-switch-language.patch | 1.26 KB | sun |
#3 | mollom.captcha-switch-language.patch | 378 bytes | sun |
Comments
Comment #1
GoldThis 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
Comment #2
sunI 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:
Comment #3
sunAttached patch fixes this bug on D7.
D6 will be a little bit harder, since IIRC, Drupal.settings.pathPrefix was only added in D7 core.
Comment #4
sunBackport for D6.
Comment #5
sunThanks 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.