【发布时间】:2017-12-02 22:17:23
【问题描述】:
我尝试通过 magento 2 中的发票翻译我附加的 pdf。通常我可以使用 i18n 组件翻译所有商店网站(基于 html)。但对于发票-pdf,将不使用翻译。
我还尝试将 i18n 内容(*_*.csv 文件,例如 en_US.csv)复制为:
- 供应商/zendframework/zend-i18n
- 供应商/magento/module-sales/i18n
并且还分成几条路径在:
- 供应商/zendframework/mvc/src
- vendor/magento/module-sales/model/order
所以问题是:如何翻译 Magento2 生成的 PDF?
【问题讨论】:
标签: translation magento2 zend-pdf