h1 html代码的客户登录页面是
<h1 class="translate-inline"
translate="[{shown:'Create an Account',translated:'Create an Account',original:'Create an Account',location:'Heading level 1',scope:'Mage_Customer'}]">
Create an Account
</h1>
并且有
<span class="translate-inline-title translate-inline"
translate="[{shown:'Create New Customer Account',translated:'Create New Customer Account',original:'Create New Customer Account',location:'Page title',scope:'Mage_Customer'}]">
TITLE
</span>
在body
html代码下。
如果由echo $this->__()
生成,我发现所有这些都会有无用的代码。如何删除无用的代码?
答案 0 :(得分:2)
看起来Magento的inline translations
已启用。您可以在System > Configuration > Developer > Translate Inline > Enabled for frontend