[Resolved] WooCommerce Email not completely translated
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate the 'new customer order' email from German to English and vice versa using WPML, but instead of seeing the expected translations, the emails display a mix of both languages. Solution: First, ensure that you have translated the email texts using the WPML String Translation. You can find detailed guidance on how to use this feature at WPML String Translation documentation. If after setting up the string translations correctly, the issue persists, it might be due to a specific configuration or a temporary glitch. In such cases, we recommend checking the email templates directly in your WordPress admin under the specified URL to confirm if the translations are applied correctly.
If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for personalized assistance at WPML support forum.
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.
Background of the issue:
I am trying to translate the new customer order email from German to English and from English to German using WPML. I expected to see German text when the client orders via the German URL and English text when the client orders via the English URL.
Symptoms:
Instead of seeing the expected translations, I got a mix of both languages in the email.
Questions:
Why is the WooCommerce email not fully translating between German and English?
How can I ensure the email displays the correct language based on the URL?
I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Thank you for your response. I would appreciate more guidance on how to properly check the email log to identify the issue. I have installed the Email Log plugin here: hidden link and I am currently reviewing two orders placed in different languages.
2024-06-17 9:25:12 — d.nickel@buero15.com — Ihre Bestellung 49967 ist eingegangen
2024-06-17 7:54:07 — tomes@iosystems.cz — Your order 49966 has been received
The HTML content of the emails appears to be correctly translated. Could you point me to where the problem might be visible? Also, if possible, please share a method I can use to simulate a purchase so I can verify which email notifications are being sent.
The main issue is about the mail we receive, when an order has been placed. Somehow it mixes the two languages.
The related string looks however translated in both languages.