4

I have activated magento admin login form captcha. I keep getting the message "Incorrect CAPTCHA" When i enter an incorrect captcha code, I want to show the german language text instead of english, since it is a german shop.

I copied the file

app\locale\en_US\Mage_Captcha.csv

to

app\locale\de_DE\Mage_Captcha.csv

and changed the line

"Incorrect CAPTCHA.","Incorrect CAPTCHA."

to

"Incorrect CAPTCHA.","Falsches CAPTCHA."

But it still shows Incorrect CAPTCHA., even after clearing the cache (cache is also disabled.)

  • Hello, have you redeployed after making the change? – Cold Fridge Jul 26 '18 at 12:34
  • are you using magento's default captcha? Or you are using any third party module? Did you check if other translations are working perfectly or not? – Sukumar Gorai Jul 26 '18 at 12:41
  • I am using magentos captcha. I did not checked yet if other translations work. – Black Jul 26 '18 at 16:08
  • 3
  • 2
    Think Oleksandrs answer is completly right .... to fix it w/o touching core files just add a mini-extension with a config.xml that contains these line. – sv3n Feb 25 at 21:01
2

My shop is Magento 1.9.3.1 and I found the same problem, that Magento_Captcha module don't have translation. I tried different solution and I finally found that in this file:

app/code/core/Mage/Captcha/etc/config.xml

Missing information about which file to use for translation. I added this and translation start working:

<frontend>
    ...
    <translate>
        <modules>
            <captcha>
                <files>
                    <default>Mage_Captcha.csv</default>
                </files>
            </captcha>
        </modules>
    </translate>
    ...
</frontend>

Note: This solution was used for old Magento 1 store. It will be updated to new Magento 2 soon. If you are planing still to use Magento 1 store, please use comment from sv3n. It is better to create new module for making translation file visible for Magento

  • 1
    I'd consider it as a bug ... and not fixed in 1.9.4.x – sv3n Feb 25 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.