This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported that the language switcher dropdown was not functioning on two recently translated pages, although it worked on other pages. The issue was not related to WP Rocket, Cloudflare, or Advanced Ads.
Solution:
We recommended the following steps to diagnose and potentially resolve the issue:
1. Enable the Footer Language Switcher via WordPress Dashboard > WPML > Languages > Footer Language Switcher and check if the second language flag appears at the bottom of the page.
2. If the flag appears, it might indicate a JavaScript issue. To investigate further:
- Create a backup of the website.
- Switch to a default theme like "TwentyTwenty" via WordPress Dashboard > Appearance > Themes.
- Deactivate all plugins except for WPML and its add-ons via WordPress Dashboard > Plugins.
- Check if the issue persists. If not, reactivate plugins one by one to identify the problematic plugin.
3. If the second language flag does not appear in the footer, the page might not be translated correctly. To address this:
- Go to Dashboard > Pages and open the edit screen of the original page.
- Make a minor edit and save it.
- Update the translation to ensure it is 100% complete.
If these steps do not resolve the issue, we requested the client to provide access to their WordPress dashboard after ensuring a backup is in place, and to set the reply as private.
Please note that this solution might be outdated or not applicable to your specific 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.
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 4 replies, has 2 voices.
Last updated by 2 years, 2 months ago.
Assisted by: Christopher Amirian.