This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where CookieYes was blocking the 'wp-wpml_current_language' cookie, causing posts to load in the incorrect language after an Ajax call. This problem was occurring in Chrome and Edge browsers, but not in Brave.
Solution:
The client resolved the issue by deleting and then re-adding the cookie in CookieYes. This action corrected the language loading problem on the staging site. The client planned to apply the same fix to the live site and requested to keep the support ticket open for a day or so for further assistance if needed.
If you're experiencing a similar issue, we recommend trying the following steps:
1. Delete the 'wp-wpml_current_language' cookie in CookieYes.
2. Re-add the cookie in CookieYes.
This solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please open a new support ticket.
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 5 replies, has 2 voices.
Last updated by 1 year, 1 month ago.
Assisted by: Carlos Rojas.