Resolved
Reported for: WooCommerce Multilingual & Multicurrency 4.3.7
Resolved in: 4.4.0
Overview of the issue
We have found out that the “Order completed” e-mail that WooCommerce sends, is affected by one of our latest patches, and it is always sent in the default site language.
Our developers are working on resolving this issue.
Workaround
As a temporary workaround until this has been properly patched, you can edit the class-wcml-emails.php file in the ../woocommerce-multilingual/inc/ directory and around the line 366 you should comment-out or remove the following rows:
if ( isset( $_POST['post_type'] ) && 'shop_order' === $_POST['post_type'] ) { return; }
Hello, we have the same Problem (WooCommerce Multilingual Version 4.3.7). Account creation confirmation mail is also affected. Can you tell me with which WooCommerce Multilingual version this is going to be fixed?
See also https://wpml.org/forums/topic/woocommerce-order-emails-getting-sent-in-wrong-language/
Hello, Marco
This issue is still not patched by our developers – as the current state to this date of this erratum is still “Open”
You can monitor this page for changes so that you can spot when the version is going to be released with a fix.
In the meantime, you can try the suggested workaround – if it helps your case.
Hi George. Thanks for your reply, but the suggested workaround doesn’t work. It might work for “Order completed” mails, but not for account creation mails (“Thanks for creating an account on …. Your username is …”).
Can you please check why this thread has been closed if the issue still persists? https://wpml.org/forums/topic/woocommerce-order-emails-getting-sent-in-wrong-language/
Thanks!
Yes, the workaround is for the order completed mails.
I am not sure for the account creation mails… if you have an issue with that, you can always open a new ticket in our support forum so that we investigate the problem.
The thread that you mention was closed due to inactivity, by the reporting user, from our cleanup automation system.
Can we have a date when this is likely to be fixed?
We don’t have a date yet, but I have asked the development team to increase the priority.
If all goes well it should be ready for next release.
Happy New Year 2019. Can we have a date when this is likely to be fixed?
Hello Phil and happy New Year to you too!
The fix has been made and will be released in the upcoming update of WooCommerce Multilingual which should happen the next week.
Hello Can we have a date when this is likely to be fixed surely this has been going long enough? It is now January 2019??
Hello Laurence.
The fix has been made and will be released in the upcoming update of WooCommerce Multilingual which should happen the next week.
How to be alerted when the new release is available ? Just by writting this comment ?
We send newsletters about major WPML updates. Also, WordPress shows a notification about new releases for all the sites on which WPML is registered.
@Andrea 04.02.2019 – no update release. How log we must waiting to your “next week” typed in 02.01.2019 ??
Hello Michal,
I’m sorry for the delay with the release.
As you may know, we had to prioritize our tasks for compensating the cyber attack we faced a few weeks ago.
This caused a delay with all the planned releases.
The good news is that yesterday, we’ve installed the new versions of our plugins in our sites, as we always do before a release.
We are aiming for a public release tomorrow (Wednesday).