Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.1
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Captcha
-
Labels:None
Description
When using Zend_Captcha_ReCaptcha, I try to pass options to ReCaptcha to be able to change the language, which is not working :
$captcha = new Zend_Captcha_ReCaptcha();
$captcha->setPubkey('MyPubKey');
$captcha->setPrivkey('MyPrivKey');
$captcha->setOption('lang', 'fr');
echo $captcha->render();
Displays ReCaptcha in english instead of french
Can be worked around using :
$captcha->getService()->setOption('lang', 'fr');
Fixed in r18164