Background of the issue:
I want to add a language switcher in my menu on my site hidden link. It should display the full list of available languages when translations are available for a specific page. When I click on the current language, a sub-menu should open with the other available languages for that page. If translations are not available, the current language should also be removed.
Can you help me fixing this?
Symptoms:
No specific issue or error message mentioned.
Questions:
How can I configure the language switcher to show only available translations?
How do I remove the current language from the menu when translations are not available?
While one of my teammates addresses your ticket, I will provide you with initial debugging steps.
WPML allows you to add a language switcher to your website’s menu, as a widget, or in the footer. You can also incorporate flags, display languages in their native names, and apply custom styling.
If you activate the "Skip language" option in WPML → Languages → Language Switcher Options, the switcher will only show the languages available on the current page.