Module prestashop邮件定制和模块翻译
我有两个问题 1-我安装了referralprogram模块,我想定制referralprogram-invitation.html邮件模板 所以我把新模板放在下面:Module prestashop邮件定制和模块翻译,module,prestashop,Module,Prestashop,我有两个问题 1-我安装了referralprogram模块,我想定制referralprogram-invitation.html邮件模板 所以我把新模板放在下面:prestashop_root/themes/my_theme/modules/referralprogram/mails/referralprogram invitation.html 但我不工作 2-我想在转诊计划模块的计划页面中添加一些额外的文本 所以我复制了下模块中已经包含的文件 prestashop_root/themes
prestashop_root/themes/my_theme/modules/referralprogram/mails/referralprogram invitation.html
但我不工作
2-我想在转诊计划模块的计划页面中添加一些额外的文本
所以我复制了下模块中已经包含的文件
prestashop_root/themes/my_theme/modules/referralprogram/translations/fr.php
我在这个表单中添加了新的文本翻译
$_模块['program_MD5']='new text'
而且它不起作用
prestashop\u root/themes/my\u theme/modules/referralprogram/mails/referralprogram invitation.html
但是在
prestashop\u root/themes/my\u theme/modules/referralprogram/mails/fr/referralprogram invitation.html
- 首先,复制文件:
toprestashop\u root/modules/referralprogram/views/templates/front/program.tpl
prestashop\u root/themes/my\u theme/modules/referralprogram/views/templates/front/program.tpl
- 然后,您需要修改此文件并在需要的位置添加所需的文本。要可翻译,您的文本必须按如下方式添加{l s='new text'mod='refereralprogram'}
- 最后,您需要通过BO的本地化>交易页面翻译此文本,而不是直接在
文件中进行翻译fr.php
保罗