Skip to content
This repository was archived by the owner on Dec 5, 2017. It is now read-only.
This repository was archived by the owner on Dec 5, 2017. It is now read-only.

Store locale not set correctly #14

@pulse00

Description

@pulse00

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions