在Prestashop中传递翻译字符串中的变量

Ija*_*een 1 translation smarty prestashop

我需要在Prestashop中传递带有翻译字符串的变量.在后端可以这样做

sprintf($this->l('The number is %1$d'), $number);
Run Code Online (Sandbox Code Playgroud)

但是在使用SMARTY时我需要在前端执行此操作吗?有人帮助我吗?

ski*_*boo 6

这样的事情:

{l s='The number is %1$d' sprintf=$number}
Run Code Online (Sandbox Code Playgroud)