0
我有一个带有自定义小工具的模块,我需要翻译小工具名称和参数 翻译文件存在于模块中,并且用于其他字符串,但小工具除外。 模块中还存在助手。 这里是我的widget.xml:小工具翻译将不起作用
<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>
请帮助。谢谢!