Magento Forum

   
Get different translation in admin module by $order->getStoreId()
 
michaelwai
Jr. Member
 
Total Posts:  2
Joined:  2013-02-12
 

I’ve made a adminhtml module which to send some emails to customer. The language of these emails have to be depended on the order’s store id (Trad. Chinese, Simp. Chinese, Japanese). In the email template phtml file (abc.phtml), some child phtml will be called as below which are set in module.xml in adminhtml layout folder:

{{layout handle="sales_email_order_items" order=$order}}

Now it is ok for the translation in abc.phtml, but not the child phtml. “sales_email_order_items” child html is still in English which is the admin language.

Could anyone teach me how to do so?

Thanks.

Best Regards,
Michael Wai

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top