Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to save modifications when trying to place the language switcher as the first item in the header menu. They also want to know how to ensure it is not in the last position if placed at the end.
Solution:
We recommend navigating to the WPML -> Languages page and scrolling to the "Menu language switcher" section to edit the language switcher settings. Currently, WPML only supports placing the language switcher as the "First menu item" or "Last menu item." For custom positions other than these, you will need to implement a custom solution. You can refer to these discussions for guidance on custom implementations:

If these solutions do not meet your needs, consider hiring a developer or a WPML contractor from WPML contractors to assist with custom placement.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at WPML known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.

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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Mihai Apetrei 3 months, 1 week ago.

Assisted by: Mihai Apetrei.

Author Posts
August 22, 2024 at 2:26 pm #16095376

fredericW-4

Background of the issue:
I am trying to put the language switcher on my header as the first item in the menu, but I can't save my modifications. If I can put it at the end, I don't want it to be in the last position. Here is the link to the page where the issue can be seen: hidden link

Symptoms:
I can't save my modifications to change the position of the language switcher in the header menu.

Questions:
How can I save my modifications to place the language switcher as the first item in the header menu?
If placing it at the end, how can I ensure it is not in the last position?

August 22, 2024 at 2:41 pm #16095593

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there.

The Language switcher menu options are controlled from the WPML -> Languages page by scrolling to the “Menu language switcher” section then editing the language switcher you want. The only supported position for the switcher is “First menu item” and “Last menu item.”

Please take a look at these existing tickets:

- https://wpml.org/forums/topic/move-the-language-switcher-to-the-2nd-last-position/#post-10920251

- https://wpml.org/forums/topic/change-menu-language-switcher-position-to-second-last/

The last ticket explains how you can use custom methods to move the language switcher to a different position in the menu.

Any other position that you would like to add the language switcher in will require custom work and that falls out of the purpose of our Support Policy so I recommend that you follow my colleague's step to accomplish that if the two methods that come built in WPML don't work for you or hire a developer (or a WPML contractor - https://wpml.org/contractors/) to implement the language switcher in a custom position.

I hope that you will find this information helpful.

Mihai Apetrei