Magento-更改翻译不起作用 [英] Magento - Change translation don't work

查看:92
本文介绍了Magento-更改翻译不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不会更改字符串:

$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);

位于345行上的 core/Mage/Customer/controllers/AccountController.php中

我已经在以下位置更改了翻译(使用Notepad ++):/design/frontend/default/my_theme/locale/de_DE/translation.csv ,但此操作无效.在此文件中翻译的任何其他内容都可以正常工作.

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!

丹尼

推荐答案

缓存了翻译内容,因此您需要清除系统>缓存管理中的缓存,或者清空var/cache目录中的内容

Translations are cached so you will need to clear the cache in System > Cache Management or by emptying the contents of var/cache directory.

另一种方法是使用内嵌翻译工具内置在Magento中.

Another way is to use the inline translation tool that is built into Magento.

这篇关于Magento-更改翻译不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆