Magento - Change translation don't work
I wan't to change the string:
$message = $this->__('There is already an account with this email address. If you are sure that it is your email address, <a href="%s">click here</a> to get your password and access your account.', $url);
located in the core/Mage/Customer/controllers/AccountController.php on line 345
I've changed the translation (with Notepad++) in: /design/frontend/default/my_theme/locale/de_DE/translation.csv but it's开发者_开发知识库 not working. Anything else, translated in this file, is working fine.
Any ideas? Thanks in advance!
Danny
Translations are cached so you will need to clear the cache in System > Cache Management or by emptying the contents of var/cache
directory.
Another way is to use the inline translation tool that is built into Magento.
It's a strange but trivial problem still in 1.9.2.1
Put the original string and the translated one (the complete translation line) into Mage_Customer.csv (instead Mage_Adminhtml.csv) in your preferred language pack folder and the translation will work.
In bin
folder run php magento cache:flush
CLI command. That does the same thing in magento 2 from terminal as @clockworkgeek suggested.
Try to set locale option default on System->Configuration->General and on tab Locale Option set locale with your language translation
精彩评论