This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where a specific string in the GDPR Cookie Consent banner was displaying in English on the Spanish version of the site and in Spanish on the English version, despite the URLs being correct.
Solution:
1. Check and Correct the Translation in GDPR Cookie Consent Settings:
- Navigate to Cookie Consent → Languages in the WordPress dashboard.
- For each language where the string is incorrect, click on Edit Content.
- Review and correct the translations in both the Consent Banner and Preference Center sections.
- If the string is part of the cookie categories, go to Cookie Consent → Manage cookies, use the Edit content in dropdown to select your languages, and correct the translation.
- Save changes.
2. Clear Caches: Clear all caches (plugin, server, browser) to ensure changes appear immediately.
3. Verify WP Memory Limit: Check the WP Memory Limit in WPML → Support and increase it if necessary.
4. Delete and Retranslate the String in WPML String Translation:
- Navigate to WPML → String Translation.
- Search and delete the problematic string, then use the Utilities tab to re-register the string by visiting the page where the cookie banner appears.
- Re-translate the string correctly for both languages.
If these steps do not resolve the issue, or if the solution seems outdated or not applicable to your case, 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 for further assistance.
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.
This topic contains 8 replies, has 1 voice.
Last updated by 3 weeks, 6 days ago.
Assisted by: Carlos Rojas.


