--- recaptcha.original 2008-01-26 18:30:04.000000000 +0100 +++ recaptcha.new 2009-01-09 05:04:15.321103500 +0100 @@ -168,6 +168,11 @@ function recaptcha_captcha() { $_recaptcha_jsadded = TRUE; $js = "var RecaptchaOptions = {theme : '$recaptcha_theme'"; + // add language support + if (module_exists('translation')) { + $js .= ", lang:'" . i18n_get_lang() . "'"; + } + // Add support to display the custom theme if ($recaptcha_theme == 'custom') { $js .= ", custom_theme_widget : 'recaptcha_custom_theme_widget'";