Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations need to be loaded #26

Closed
gstrat88 opened this issue Oct 13, 2017 · 2 comments
Closed

Translations need to be loaded #26

gstrat88 opened this issue Oct 13, 2017 · 2 comments

Comments

@gstrat88
Copy link

Because of this:

https://magento.stackexchange.com/questions/25612/cron-job-template-block-not-being-translated-but-testobserver-is

I need to add this line of code after setArea in _sentEmails function:

//Dealing with uninitialized translator!
Mage::app()->getTranslator()->init('frontend', true);
@digitalpianism
Copy link
Owner

@gstrat88 thanks for this issue and sorry for the late reply. Could you tell me exactly where you wrote that piece of code or if possible, create a pull request please ?

@gstrat88
Copy link
Author

Model/Notifier.php class DigitalPianism_Abandonedcarts_Model_Notifier function _sentEmails

line 378
after Mage::getDesign()->setArea('frontend');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants