This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with partially untranslated WooCommerce emails in Spanish, despite having translations available in the String Translation. The client updated WPML and modified the TranslateWpmlString.php file, but the issue persisted. Solution: 1. We recommended updating the WPML plugins and add-ons to the latest version, specifically to version 4.7.2, to benefit from the latest bug fixes and improvements. Instructions for updating can be found at http://wpml.org/faq/install-wpml/. 2. We suggested applying a workaround for a known issue related to WooCommerce order update emails containing mixed language texts, which can be found at https://wpml.org/errata/wc-order-update-emails-may-contain-mixed-language-texts/. 3. After applying the workaround, it is crucial to double-check that all strings are correctly translated in the String Translation. 4. If the issue persists, we advised creating a staging site and performing a step-by-step isolation test by deactivating and reactivating plugins and themes to identify the culprit. 5. As a last resort, downgrading the WPML plugins by manually uploading the plugin folders or restoring a backup with a previous version was suggested.
If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket 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.
Please update your WPML plugin and add-ons to the latest version, 4.7.2, to benefit from the latest bug fixes and improvements.
You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/
If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.
Please remember to backup your database before you proceed.
If the above is finished, then you will need to create a staging site with a copy of the live site and follow these steps to isolate the cause of the issue:
- Update any outdated plugins or themes
- Flush any cache memory that might exist
- Deactivate all plugins, including the WPML ones
- Activate a default WordPress theme, like Twenty Twenty
- Activate the WPML plugins, Wooocommerce and Woocommerce Multilingual
- If the issue disappeared, start by activating the theme and then the rest of the plugins, one by one, until the issue reappears and you find the culprit.
I see this will take days/weeks to get sorted. The spanish site just went live, google ads are running and I can't have customer emails looking like that. Can you just tell me how to downgrade? It used to work ok.
To be honest I don't know how it should be treated.
One ticket is regarding the HR version where email were not translated at all, and the other ticket is regarding ES version where there were mixed translations.
One was a ticked and the other was a chat automaticaly transfered to a ticket. Feel free to combine them if you wish.