Skip Navigation

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/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqas Bin Hasan 11 months, 1 week ago.

Assisted by: Waqas Bin Hasan.

Author Posts
May 21, 2024 at 6:28 pm #15652356

Sam

We run a WooCommerce store that frequently needs to manually resend order confirmations by site admins / shop managers.

WooCommerce uses the admin language value to generate the email, invoice etc. instead of the language stored in order post meta (eg. wpml_language = fr)

Therefore we end up with a Chrüsimüsi (weird mix) of languages in the oder confirmation mails, PDF invoices etc.

Is there a way to always use the wpml_language value of the individual order instead of the admin language?

Cheers, Sam

Screenshot 2024-05-21 at 20.23.28.png
May 22, 2024 at 7:25 am #15654307

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Sam,

Thank you for contacting the support.

Before proceeding further, can you please try the following?

1) Take a full backup of your site and database before proceeding.
2) Deactivate all plugins except WPML and WooCommerce.
3) Switch to a standard theme like 2024.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keeping checking for the issue. This way you 'll be able to pinpoint a conflict where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know your findings and I'll try my best to help you further on the matter.

Regards.

The topic ‘[Closed] Use customer language for manual WooCommerce order actions’ is closed to new replies.