This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to place the language switcher at the top right of their site, separate from the menu container. However, the built-in functionality places it next to the menu options, causing layout issues.
Solution:
1. We suggested using shortcodes or PHP to place the language switcher in any custom location. Documentation on adding language switchers using PHP and shortcodes can be found here: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/
2. An alternative solution involves editing the Menu Language Switcher settings within WPML to either make it a dropdown or hide the current language flag, which saves space in the design.
3. For a custom placement outside of the header container, custom coding is required. This falls outside our support policy, and we recommend hiring a WPML contractor or a developer for assistance. You can find WPML contractors here: https://wpml.org/contractors
4. We also provided a link to our documentation for creating a custom language switcher with WPML, which might be useful: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/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 further assistance is needed, 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 0 reply, has 1 voice.
Last updated by 3 months, 2 weeks ago.
Assisted by: Mihai Apetrei.