Closed (fixed)
Project:
CAPTCHA
Version:
5.x-3.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Dec 2007 at 20:47 UTC
Updated:
8 Feb 2012 at 12:00 UTC
I'm using v.3.1 in my personal site. I've also updated the Greek translation according to the latest stable version (3.1). Using Greek as the default language in my site, in the comment submission forms, I notice that the description
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
remains untranslated, although I did translated the corresponding msgid string. The other messages appear in Greek fine. I noticed these two lines in captcha.module (lines 145-148, function _captcha_get_description()):
$description = variable_get("captcha_description_$lang_code", t('This question is for testing whether you are a human visitor and to prevent automated spam submissions.'));
}
else {
$description = variable_get('captcha_description', t('This question is for testing whether you are a human visitor and to prevent automated spam submissions.'));
Insights?
Merry Christmas everyone! :-)
Comments
Comment #1
soxofaan commentedYou have to put the translated strings on the CAPTCHA settings page under "challenge description".
This is done separately from the standard Drupal localization because the string is not static (and Drupal's localization is only for static strings).
Comment #2
GoofyX commentedThanks soxofaan!
Merry Christmas!