Magento Widget翻译赢得';行不通
我有一个带有自定义小部件的模块,我需要翻译小部件名称和参数 翻译文件存在于模块中,并用于除小部件之外的其他字符串。 辅助对象也存在于模块中。 以下是我的widget.xml:Magento Widget翻译赢得';行不通,magento,widget,translate,Magento,Widget,Translate,我有一个带有自定义小部件的模块,我需要翻译小部件名称和参数 翻译文件存在于模块中,并用于除小部件之外的其他字符串。 辅助对象也存在于模块中。 以下是我的widget.xml: <widgets> <current_coupons type="coupons/coupon_widget_current" translate="name description" module="coupons"> <name>Current Coupons List<
<widgets>
<current_coupons type="coupons/coupon_widget_current" translate="name description" module="coupons">
<name>Current Coupons List</name>
<description>List of Coupons that currently active</description>
<is_email_compatible>1</is_email_compatible>
<parameters>
<coupons_count translate="label">
<required>1</required>
<visible>1</visible>
<value>5</value>
<label>Number of Coupons to Display</label>
<type>text</type>
</coupons_count>
<coupons_type translate="label">
<required>1</required>
<visible>1</visible>
<value>latest</value>
<label>Type of the listing (Annonce or Latest)</label>
<type>select</type>
<values>
<latest translate="label">
<value>latest</value>
<label>Latest</label>
</latest>
<annonce translate="label">
<value>annonce</value>
<label>Annonce</label>
</annonce>
</values>
</coupons_type>
</parameters>
</current_coupons>
当前优惠券列表
当前活动的优惠券列表
1.
1.
1.
5.
要展示的优惠券数量
文本
1.
1.
最新的
列表的类型(一次或最新)
选择
最新的
最新的
安奈斯
安奈斯
请帮忙。谢谢 通过将节添加到config.xml文件的节中修复了该问题