This thread is resolved. Here is a description of the problem and solution.
Problem:
The client added a language switcher in the header using Elementor Pro, set to show only one language without a flag. It functions correctly when the website is in English, but when switching to French, it only displays the French option, preventing switching back.
Solution:
We first asked the client how the language switcher was implemented in the header to understand the setup. We suspected the issue might be related to the 'Hostinger Preview Domain' plugin, known to interfere with WPML language switching. We recommended disabling this plugin to see if it resolves the issue. After further investigation, we confirmed that the language switcher was functioning correctly in both languages. If you're experiencing similar issues, we recommend checking if any temporary domain usage plugins are active and disabling them. Additionally, ensure your implementation method in Elementor is consistent with WPML's best practices.
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 6 replies, has 0 voices.
Last updated by 3 weeks, 4 days ago.
Assisted by: Dražen.
