liip/LiipMagentoBundle — Issue #14: Store locale not set correctly
Author: pulse00
Created: 2011-12-09 12:01:07+00:00
State: open

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.