Home›Support›English Support›[Resolved] Header menu display all pages in the top menu when Spanish language selected
[Resolved] Header menu display all pages in the top menu when Spanish language selected
This thread is resolved. Here is a description of the problem and solution.
Problem: The client needed the Spanish navigation header to display only the correct menus and sub-menus when the Spanish language was selected. They had translated the navigation header from English to Spanish using WPML, but it was not displaying properly. Also, they encountered issues updating WPML and connecting to wpml.org.
Solution: 1) We recommended updating WPML to the latest version. To resolve the update issues, we advised: - Deleting the existing site key from the WPML account. - Generating a new key. - Unregistering and re-registering WPML on the site with the new key. 2) For the navigation menu issue, we suggested: - Checking if the "Header" template-part and Navigation-menu templates were translated into Spanish. - Completing any pending translations. - Removing any unused Navigation menus. - Ensuring the correct Navigation Menu is set for each page template in all languages.
We also provided a video tutorial to assist with setting the correct Navigation Menu for the templates in use.
The issue was resolved after assigning the proper Navigation menu to the "Single Post" template.
If the solution provided here is not relevant due to being outdated or not applicable to your case, we recommend opening a new support ticket. We also 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 contact us on the 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.
We need the spanish navigation header to display only the correct menus and sub-menus when the spanish language is selected, like in our main page: hidden link
Today, when we switch to the spanish language all menus, sub-menus and pages are displayed in the navigation header (cf.)
We translated the navigation header from EN to SP normally in WPML, as we did from EN to FR (which works perfectly) but it still not display the navigation header properly in SP.
We had to hide the spanish language because of this issue but feel free to unhide it if you want to do some testing.
Thank you for contacting WPML Support, I will be happy to help you.
I noticed from the debug info that you provided that you are using WPML v4.6.6, I would suggest you update to the latest version v4.6.9 and other WPML addons plugins if needed.
After, please check if the issue persists and let me know.
---
If the issue persists after the update/s would it be possible to have access to your site, possibly to a staging site so we can further troubleshoot?
I tried to update but it seems that I have to wait 5 hours for the auto-update (cf.) and when I disable the auto-update to do the update manually the update fails as well... (cf.)
- Delete the existing site key
- Generate a new key
- Go to your website's WP-Admin -> Plugins -> Add New -> Commercial tab
- Click on the “Unregister WPML from this site” button
- Register with the new site key and refresh the page
Could you please confirm that none of the process of these steps will delete anything that we translated and built through WPML? And that we will be able to restore every single action we made on WPML?
Sorry but it would be a lot of time and money wasted so we have to be sure.
I followed your step but I am still unable to update WPML. (cf.)
It seems that WPML plugin cannot connect to wpml.org
WPML needs to connect to its server to check for new releases and security updates. Something in the network or security settings is preventing this.
How am I supposed to allow outgoing communication to wpml.org?
In order to investigate this issue and understand it better, I would need a temporary access to your website, access to your site's WP-admin (you can create an administrator user using any email address you prefer).
Please make a full backup of your site (files and database) and confirm it in your next reply.
Your next reply is set to private for you to provide the username and password details.
thank you for providing the login details, but the user you provided needs to be an administrator user level in order to let me check the WPML configuration on the website.
Could you please change the user level from WP-Admin -> Users?
thank you for upgrading the user, I was able to login and check further.
- Could you please tell me how are you translating the menu, as I notice the theme is a FSE theme?
- In Spanish I noticed that the image/banner below the menu has a different with.