This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This thread is resolved. Here is a description of the problem and solution.
How can I translate parts of the booking confirmation emails that WooCommerce is sending after an order is finished?
This was a pretty unique situation where the client needed to translate a word that required WooCommerce template editing.
The process that solved the issue for the client is the one below:
In order to edit that word in the default language of the WooCommerce plugin, you will need to create a custom WooCommerce email template.
You will see that the current template that generates that word is coming from this directory file '/wp-content/plugins/woocommerce/templates/emails/email-order-details.php' and right on code line 36 is where that word is taken from (I will also attach a screenshot).
Here is also some helpful WooCommerce documentation that shows you how you can create a template in the folder of the theme that you are using: https://docs.woocommerce.com/document/template-structure/
Practically you will need to simply copy that .php file (..../email-order-details.php) into '/wp-content/themes/your-theme-name/woocommerce/emails/email-order-details.php'.
However, normally, this process should be enough but it really depends on what exactly you need to translate in the WooCommerce confirmation template:
In order to translate template information that shows up in the WooCommerce order confirmation e-mail, you will need to:
1. Go to your WordPress dashboard 2. Go to WooCommerce > Settings > click on the top "Emails" tab 3. Select "Customer invoice / Order details" from that list 4. Here you should be able to update the content to your needs, for each of the languages