Skip to content

Commit

Permalink
Update di.xml
Browse files Browse the repository at this point in the history
workaround for Invoices PDF. They now have the language according to the store, not the admin account.
  • Loading branch information
benjamin-garnier authored Nov 21, 2017
1 parent c268a4b commit f969003
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@
<type name="Magento\OfflinePayments\Model\Cashondelivery">
<plugin name="cashondeliveryplug" type="Ethos\GlobalFixes\Plugin\CashondeliveryPlug" disabled="false" sortOrder="10"/>
</type>
<type name="\Magento\Framework\Locale\ResolverInterface">
<plugin name="mage_localeresolver_reload" type="Magento\Framework\Translate\Locale\Resolver\Plugin" sortOrder="1" disabled="false"/>
</type>
</config>

0 comments on commit f969003

Please sign in to comment.