I'm trying to fetch the order and/or the product data, but translated to a specific language/store view from an observer. This will send out an internal email so the order will be handled. Im calling the order data like this:
public function execute(\Magento\Framework\Event\Observer $observer) {
$order = $observer->getEvent()->getOrder();
// Stuff
}
And product Data
foreach ($order->getAllItems() as $item) {
$product = $item->getProduct();
$itemData = $item->getData();
// Stuff
}
I've tried adding ->setStoreId(X)
to the above but that didn't help.
Can it be done on the complete order object? Can it be done on the product level, including attributes? Or is this a case of fetching it one by one?