This one stumped me for a bit. Needed this because I am using MWI in combination with his addon Shortcodes & Widgets to show products from Magento in WordPress using shortcode.

Problem was Amasty Stockstatus stati(?) were not being translated after I had written a custom function for it which lets us change button and div class for items with the “Pre-order” status
To solve this I added the following lines to the wordpress plugin:

You could set $locale dynamically according to something else in WordPress. This will be something I have to pick up in the future probably.

Here’s my custom function for Amasty Stock Status. It’s still in Amasty_Stockstatus_Helper_Data but will be moved to a custom module which extends that tomorrow 😉