This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported that the language switcher was not displaying correctly on their website's menu. Specifically, the switcher was not centered, and hovering over the flags displayed code instead of the expected flag and country name.
Solution:
We advised the client to check if the content on their pages was fully translated and published. Unpublished translations could cause the language switcher to display incorrectly. We recommended checking the WordPress 'Pages' section in the backend to see the status of translations. If a pencil icon is visible, the translation is published. An eye icon indicates the translation needs review, a gear icon suggests the translation is not saved, and a circled arrows sync icon means the translation needs to be updated due to changes in the main language.
If you're experiencing similar issues with your language switcher, we recommend following these steps to ensure all translations are complete and published. If the problem persists, it might be due to an outdated solution or a different issue. 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 these steps do not resolve the issue, 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 is split from https://wpml.org/forums/topic/menu-language-switcher-not-working/
This topic contains 3 replies, has 2 voices.
Last updated by 1 year, 8 months ago.
Assisted by: Mihai Apetrei.

