This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to create a language switcher for the header menu on your website, but the source code of the language switcher appears instead of the switcher itself. This issue persists regardless of the parameters you configure for the language switcher, while the footer language switcher displays correctly.
Solution:
We recommend checking if the issue still occurs when using a default theme, as your current theme might be filtering out the dropdown item, preventing the language switcher from being displayed. If the language switcher works correctly with the default theme, consider using a language switcher outside your menu. You might find using a shortcode, widget, or the floating language switcher helpful. For more details on these alternatives, please visit: Custom Language Switcher.
If this solution does not apply to your case, or if it seems outdated, 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 you still need assistance, 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 1 replies, has 0 voices.
Last updated by 1 day, 5 hours ago.
Assisted by: Andrey.