Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 3 replies, has 0 voices.

Last updated by Andreas W. 3 months, 3 weeks ago.

Assisted by: Andreas W..

Author Posts
June 4, 2025 at 6:37 am #17104501

simonB-10

Background of the issue:
I am trying to ensure that renewal orders in WooCommerce Subscriptions are sent in the correct language. I noticed that the 'wpml_language' is set to 'da' (Danish) on the orders. However, when I check the email log at /wp-admin/admin.php?page=wpml_plugin_log, the emails are sometimes sent in the wrong language. This issue occurs for some orders, such as '9489', '9488', and '9487'. The strings are translated correctly, and this problem does not affect all renewals, just some.

Symptoms:
Renewal order emails in WooCommerce Subscriptions are sometimes sent in the wrong language, despite the 'wpml_language' being set correctly to 'da' (Danish) on the orders.

Questions:
Why are some renewal order emails sent in the wrong language despite the correct 'wpml_language' setting?
How can I ensure that all renewal order emails are sent in the correct language?

June 5, 2025 at 7:52 pm #17112213

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Can you currently replicate this with new orders?

Could this be caused by emails that are forced to be sent from the admin area?

I will be glad to provide a WPML test site on which you can install the plugin so that we try to recreate the issue.

Would this be possible?

Best regards
Andreas

June 6, 2025 at 10:52 am #17113653

simonB-10

Hi Andreas,

By new order do you mean a completely new subscription? The renewal orders is a new order each time.

The emails is automatically sent when the subscription renews. They are not manually triggered by the admin area.

It will be hard to make a completely new test environment with same setup.. It is not possible for you to check on the live site? Otherwise we need some time to set up a test enviroment and make sure all subscriptions are set to our email...

June 6, 2025 at 11:21 am #17113832

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

In fact, I would send you a login link to a test site where I need you to install the latest version of the WooCommerce Subscription plugin and I will then run some tests and see if I can replicate the issue. This is mandatory in order to investigate and internally escalate a compatilbity issue.

Surely, I can offer to first take a look at the issue on your live site.

I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.

You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" to create a copy of the website so I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or a copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/account/websites/.

If you are unable to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

Click "I still need assistance" the next time you reply.

Video:
hidden link

Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket in the private response form.

The topic ‘[Closed] WooCommerce Subscriptions emails in wrong language’ is closed to new replies.