This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to display a language switcher on the menu using a shortcode.
Solution:
If you're experiencing this, we recommend you follow these steps:
1. Navigate to WPML → Languages.
2. Enable the option 'Custom Language Switchers'.
3. Use the shortcode
[wpml_language_selector_widget]
to display the language switcher wherever you need it.
You can also customize the appearance and behavior of the shortcode switcher under WPML → Languages → Custom Language Switchers.
For more details, visit Adding Language Switchers using PHP and Shortcodes.
If this solution does not apply to your case, or if it seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if needed.
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 2 replies, has 0 voices.
Last updated by 3 days, 19 hours ago.
Assisted by: Andrey.

