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: Asia/Yerevan (GMT+04:00)

This topic contains 3 replies, has 0 voices.

Last updated by Christopher Amirian 9 months, 1 week ago.

Assisted by: Christopher Amirian.

Author Posts
December 1, 2024 at 10:58 pm #16463806

Ian Fraser

Background of the issue:
We have a site at hidden link that is in English and offers Chinese Simplified as an option. The site uses WooCommerce Subscriptions. I have updated the plugins to the latest versions and imported the string translations to the table using theme and plugins localization.

Symptoms:
Automated renewal order emails are sent to customers in Chinese instead of English. This issue occurs only for renewal orders, and all subscription-based customers are English.

Questions:
Is there any way to fix the issue of renewal order emails being sent in Chinese instead of English?

December 2, 2024 at 3:28 pm #16467230

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPML support.

Would you please test if the email that you have mentioned is triggered from the WordPress Dashboard or the front end of the website?

If it is triggered from the WordPress Dashboard then the language of the email will be dependant on the language of the admin.

You can test by going to WordPress Dashboard > Users > profile and change the admin language to something else.

After that please test and see if the language of the email matches the language you set in the dashboard.

Thanks.

December 2, 2024 at 6:45 pm #16468147

Ian Fraser

Thanks Christopher for getting in touch so quickly.

I am pretty sure Woocommerce Subscriptions plugin uses wp-cron to auto renew Woocommerce orders. During this process the users product is added to cart, the order is generated an auto renewal emails are sent (and it is these being sent in Chinese).

I have just made sure all Admin Users are set to English as there default language. I can also confirm the WPML default language is English.

I have then checked all the Subscriber users. Most had English set as their default language. Some had default selected (using the WordPress default) so I have manually changed all of these to English to try and rule that out.

I guess the next thing we have to do is wait for the next auto renewal email to be sent and see if the issue is resolved. We have used plugins such as Woocommerce Preview emails, but this does not appear to resolve the issue.

Will be in touch again with further information as it happens.

Thank you, Ian

December 3, 2024 at 8:56 am #16470142

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Thank you Ian,

If the issue persists after the steps you took, we will need to report this to the compatibility team and that needs the replication of the issue on a clean installation.

To be able to report the compatibility issues we need to replicate the issue on a clean installation.
I created a clean installation of WordPress, Woocommerce, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:

hidden link

Kindly follow the steps below:

- Install the Woocommerce Subscription plugin.
- Set it up to send the auto emails you have mentioned.
- Try to replicate the issue.

I also installed an email logging plugin so you can see which email is sent and in which language in the WordPress Dashboard > Email Logging.

This will help us to report the probable issue to the compatibility team and solve the possible problem faster.

Thanks.

The topic ‘[Closed] Woocommerce subscriptions’ is closed to new replies.