You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2017. It is now read-only.
I've found a small issue with the locale when rendering magento blocks on the Symfony side. The MageListener currently only calls app(), which initializes most of the Magento app, but it does not load the translation areas.
This results in having english texts in all magento blocks rendered from within Symfony. To resolve the issue, i've called \Mage::app()->loadArea('frontend'); in my custom MagentoTwigExtension.
I'm not sure if this can be handled by the Bundle in a generic way at the moment, but i'll just leave this info here in the issue if anyone else is having the same problem.
I've found a small issue with the locale when rendering magento blocks on the Symfony side. The
MageListenercurrently only callsapp(), which initializes most of the Magento app, but it does not load the translation areas.This results in having english texts in all magento blocks rendered from within Symfony. To resolve the issue, i've called
\Mage::app()->loadArea('frontend');in my custom MagentoTwigExtension.I'm not sure if this can be handled by the Bundle in a generic way at the moment, but i'll just leave this info here in the issue if anyone else is having the same problem.