Home›Support›English Support›[Resolved] my menu keeps going back to the default language after I click on the menu
[Resolved] my menu keeps going back to the default language after I click on the menu
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing an issue where the website language reverted back to English when navigating through the menu, despite initially setting it to Dutch. Solution: 1. We advised the client to ensure that the menu is translated into Dutch. For guidance on translating WordPress menus using WPML, visit Translating Menus. 2. It was necessary to set theme options for each language or translate the template. Helpful documentation for using WPML with specific themes, such as Avada, can be found here:
3. After checking the client's settings, we manually adjusted the translated header to correctly display the Dutch menu. The client can further adjust this, especially if elements like the search icon are misplaced.
Please note that this solution might be outdated or not applicable to your specific case. If the issue persists, 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 needed, do not hesitate to 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.
Background of the issue:
I am trying to ensure that my website, hidden link, remains in Dutch when navigating through the menu. Currently, when I switch to Dutch, everything initially appears correct.
Symptoms:
When I click on a menu item, the language reverts back to English instead of staying in Dutch.
Questions:
Why does the menu revert to the default language after clicking on a menu item?
How can I ensure the menu stays in Dutch when navigating?
It still hasn't been solved. In this screenshot you can see that the translations are done but they are not showing up. I can go to a translated Dutch page for example: hidden link hidden link
But the menu at the top is still English, so every time I change page I have to again switch to Dutch.
I saw in the translated header your menu was not set correctly to the Dutch menu, so I have adjusted it manually.
- hidden link
Now it shows your Dutch menu, which you can also further adjust to your needs, since I see you have the search icon in the wrong position on the NL website, not sure if that is what you wanted.
Great I am very happy! When I follow the link it tells me this:
Warning: You are about to edit your translation using the standard WordPress editor but your site is configured to use the WPML Translation Editor. Any edits you do here will be lost if you later open it in the WPML Translation Editor.
Can I just continue? The search is not where it should be for sure.