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.
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.
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.
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.
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.