Resolved
Reported for: WPML String Translation 3.2.1
Resolved in: 3.2.2
Overview of the issue
With WooCommerce Multilingual and String Translation, you can easily translate your WooCommerce emails.
Currently, users receive emails in the correct language when they make a purchase. However, if an administrator changes the order status, the user may receive some parts of the email in the default language.
Workaround
Before proceeding, be sure of making a full backup of your site.
- Identify the option key where the part of the email which is not translated is stored, i.e kt_woomail.
- Open your theme’s functions.php file.
- Add and adapt the following code with your option key:
$option_key = 'kt_woomail'; add_filter( 'option_' . $option_key, [ wpml_st_load_admin_texts(), 'icl_st_translate_admin_string' ] );
When will you fix this issue???
You are up to version 5.0.2 now and this haven’t been fixed…
Hello there,
Solving this issue implies fixes not only in WooCommerce Multilingual but also WPML String Translation. That means that it will be solved in our next release of the latter.
We will keep you updated.
Thank you for your understanding.
What if I want to use not custom mails but default WooCommerce mails in the customer’s language? What should I search for instead of “kt_woomail”?
Hey there,
For custom emails this shouldn’t be necessary, you should be able to translate your emails directly from WPML > String Translation.
If that’s not the case, please open a ticket in our support forum where we will be able to help you better.
Regards
I am having the same problem here and this is pretty annoying that customers get mixed emails with their native lang and also default lang….please hurry with a fix, or give us temporary solution.
Hello there,
If the temporary solution presented in this page does not work, please open a ticket in our support forum, we will be able to help you better there.
Regards
I dont see temporary solution here, as I am using default woo emails, not custom.
This shouldn’t be necessary for default WooCommerce emails. If you can’t translate your emails from WPML > Settings, please open a ticket in our support forum.
Hello everyone,
This issue has been solved with our latest release of WPML and WPML String Translation 3.2.2.