Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图到处搜索,但找不到这个问题的任何解决方案;我想简单地从Magento 生成的 PDF 发票总额中翻译单词 subtotal 和 tax。我已经尝试过使用 csv 但似乎没有效果。这些单词存储在哪里?
我记得我只想要小计费用并从总发票中翻译的话,在对象表中已经可以了
谢谢大家!
首先,您应该从核心复制到本地,然后进行更改。对于翻译,没有 csv,您必须编辑 app/code/local/Mage/Sales/Model/Order/Pdf/Invoice.php 或来自 app/code/local/Mage/Sales/Model/Order/Pdf 的任何其他 php 文件/ 根据您的需要。