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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 4 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 11 months ago.

Assisted by: Long Nguyen.

Author Posts
August 3, 2023 at 2:16 am #14145355

michaelL-16

1. Following your instruction on “How to Translate Woocommerce Emails” (see the link below), under the English version, I click the ”Manage” button in Woocommerce/Setting/Email/New Order, and then I click “Translation” in the field indicated in the screenshot WPML-1.

https://wpml.org/documentation/related-projects/woocommerce-multilingual/how-to-translate-woocommerce-emails

2. When clicking “Translation” in the fields indicated in the image WPML-1, I was switched to the screenshot WMPL-2, where I put both traditional and simple Chinese in the field indicated. When switching back to the Woocommerce/Setting/Email/New Order, under both simple or traditional Chinese versions, I click the “Manage” button to enter the managing page. This field is still showing the English version. Please see the screenshot of WPML-3.

3. As checking out the order in Chinese version, the invoice/order won’t be translated into both simple and traditional Chinese versions. If I directly put simple Chinese in the managing page of New Order in the Woocommerce/Setting/Email/New Order, the order/invoice checked out in English version will turn to be simple or traditional Chinese even though I checked out the order in English version.

4. Here is my temporary login link. Please enter our credential and correct it.

WPML-3.jpg
WPML-2.jpg
WPML-1.jpg
August 4, 2023 at 9:45 am #14154165

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Michael,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

If you translate a string with String Translation, the translation is saved to the .mo file and located in the folder /wp-content/languages/wpml/ so it won't display the translation when you switch the language on the settings page.

On my demo site, I see that:
- The email sent to the customer in the language that they use on the checkout page.
- The email sent to the admin about a new order in the user's preferred language, you can set it in User > Profile > Language.

Also, when editing an order on your site, I do not see the custom field "wpml_language" and the language code value as normal. Please check this screenshot hidden link

I suggest you can try to enable a minimal environment as below and see if it helps:
- Deactivate all plugins except WPML plugins and WooCommere.
- Switch to a standard theme of WordPress.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: 
https://wordpress.org/plugins/duplicator/

Addition note: please don't add the credentials of your site to your comment unless you see a private box that is opened by a supporter. This is a public forum and anyone can see your comment.

Look forward to your reply.
Thanks

August 6, 2023 at 12:10 pm #14159869

michaelL-16

Hi, Sir,

Following your previous reply, here is my reply. Please kindly download the file to see mye description and images in the following link.

hidden link

August 7, 2023 at 2:49 am #14160857

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

As I can see, the administrator bunny@evilbunnytoys.com received emails in the English language as well. Just some strings are not displayed correctly. Please try to re-translate strings and see if it helps.

If not, I would like to have the admin account (wp-admin and FTP) to login to your site to take a better look at the issue (please don't share the temporary login link). It would be better to have a testing site where the issue is replicated. Your next reply is set to private to share the info.

❌ IMPORTANT: Please backup your database and website before proceeding ❌
You can use this plugin to create the backup: 
https://wordpress.org/plugins/duplicator/
✙ I would need your permission to de-activate and re-activate Plugins and the Theme to change configurations on the site if needed. This is also a reason the backup is critical.

Look forward to your reply.
Thanks

August 8, 2023 at 10:11 am #14168331

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

On your staging site, the default language is English, so I change the language of strings in the email settings to English and re-translated them to Chinese Simplified and Chinese Traditional.

Now you can see the new order email sent to the user bruce.at@msa.hinet.net in the Chinese language as well.

Please check these screenshots hidden link
hidden link
hidden link

Look forward to your reply.
Thanks

The topic ‘[Closed] Translation problem with email templates’ is closed to new replies.