Overview of the Issue
When using ELEX Stamps.com WooCommerce Extension (USPS) with WPML, the tracking block of a translated WooCommerce order email stays in the default language: the shop’s custom tracking message and the default sentence “To track shipment, please follow the shipment ID(s)”.
Workaround
For the custom tracking message:
- Go to WPMLSettings and open the Custom XML Configuration tab. Add this code and save:
XML
<wpml-config> <admin-texts> <key name="wf_tracking_custom_message"/> </admin-texts> </wpml-config>
- Go to WPMLString Translation and translate the message.
The default sentence has no workaround yet.