When it comes to WooCommerce email translation, emails are sent in the preferred language of each user. No special configuration is required.
WooCommerce Customer Email Translation
Emails will be sent to customers in the language that they last browsed your website.
- For logged-in users this information is automatically updated with the last language they visited the website in.
- If you don’t require users to log in before placing an order, then the language in which they placed the order on the checkout page will be used for all further email notifications sent to this user.
All email types listed under WooCommerce → Settings → Emails will be sent in the customer’s preferred language, regardless of whether they are triggered by a customer action (i.e. placing an order) or shop manager action (i.e. marking an order as complete).
WooCommerce Admin/Shop Manager Email Translation
This type of email will be sent in the recipient’s preferred language, not in the customer’s language.
- Emails received by the administrator will be translated in the preferred language of the administrator. That is the one used in the WordPress dashboard which can be changed in the back-end by going to Users → Profile → Language. Or, even easier, you can hover your mouse over your username in the admin bar and click on Edit Profile.
- If you configure your email recipient in WooCommerce → Settings → Emails to a different email address belonging to an existing user (such as a Shop Manager) then this user’s WordPress dashboard language is used for a particular email type. Having multiple recipients for one particular email type will result in sending the email in the TranslatePress Default Language for all the enumerated addresses.
Please note that if the administrator/shop manager language is not found among the languages configured in TranslatePress Settings, then the TranslatePress Default Language will be used.
Editing Email Translations
All the default texts found in WooCommerce emails are plugin localized texts which already have translations in the most popular languages, through the WooCommerce language files. If Automatic Translation is set, then any remaining untranslated default text will be machine translated. User-inputted text, such as the one you might have inserted when customizing WooCommerce Emails, will also be translated using Automatic Translation if enabled.
If you use manual translation, you can translate the emails that you customize in WordPress admin using our Conditional Shortcode. You wrap the content for every language using the right shortcode and only the correct part will be emailed to the user. We exemplified the process on another plugin that has a similar email system, the Charitable plugin.
Manually editing WooCommerce email translation will soon be available in the upcoming releases of TranslatePress.
TranslatePress – Multilingual version 2.3.5+
WooCommerce version 6.8+