Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/webpack/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我的Magento模板有什么奇怪的地方?_Magento_Translation - Fatal编程技术网

我的Magento模板有什么奇怪的地方?

我的Magento模板有什么奇怪的地方?,magento,translation,Magento,Translation,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> 创建帐户 还有 &l

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>

标题
正文下
html代码


我发现,如果这些代码是由
echo$this->\uuuu()
生成的,那么它们都会有那些无用的代码。如何删除无用的代码?

看起来Magento的
内联翻译已启用。您可以在“管理”中的
System>Configuration>Developer>Translate Inline>Enabled for frontend