Home›Support›English Support›[Resolved] Translated secondary language menu links to original language pages
[Resolved] Translated secondary language menu links to original language pages
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to ensure that the secondary language navigation menu (ES) links to the corresponding secondary language pages (ES), but all links redirect to the primary language pages (EN). This issue started occurring after the last WPML upgrade and re-registering the site. Solution: To resolve the navigation menu linking issue, you can use one of two approaches to edit the templates and navigation menus: 1) Using the WPML editor:
Go to WPML -> Translation Management
Select the template
Select "Assign To Translator"
Send to translation
Go to Translation basket
Send it to translation to the first available translator
Go to WPML -> Translations
Click the translate/edit button
Change the translation in the editor and save it
2) Using the WordPress editor:
Go to WPML -> Translation Management
Filter by template and the secondary language
Hover on the translated template name
Click Edit
Change the translation in the WordPress editor and update it
Please use one of these approaches to correct the footer's links.
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 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.
Tell us what you are trying to do? Secondary lang nav menu (ES) should link to secondary lang pages (ES), but instead all links go to primary lang pages (EN). Menus and pages were translated successfully EN > ES with WPML, no problem. I have deleted and recreated the menus 5 times, and reset the Nav templates in the theme, but same problem happens every time. This is a new problem since last WPML upgrade and re-registering the site.
Is there any documentation that you are following? Already browsed WPML support and web for solutions; nothing found.
Is there a similar example that we can see? Just check the website -- every nav link has the problem.
What is the link to your site? staging8.travler.org
Thanks for contacting WPML forums support. I'll be glad to help you today.
I couldn't check the site because it requires access details, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Thanks for the access details. I edited the navigation menu translation to translate the URLs. Please check if they are translated correctly. (hidden link)
To edit the menu's translation, please go to WPML-> Translations and edit the navigation menu's translation.
Osama, thank you for trying but I still cannot make the translation work correctly, and I do not understand from your reply how to do it.
The words you used in the translation are not quite right, so I tried to change the words but could not find the nav items in WPML > Translations, so instead I selected the various nav menus in WPML > Translation Management, and auto-translated them from that screen. Once again, the URL links are incorrect; the translated words are correct for my region but the ES nav links again point to the EN pages.
I do not understand how to do the nav menu (template part) translation and also ensure the links are correct.
Please tell me the process to modify the nav link text in the secondary language, but also have those links point to the secondary language pages.
Osama, thank you but we still have 2 problems with this support issue.
1. The header links are now correct, but the footer links (which use the same Nav element as the header) do not work properly; the footer ES nav elements still link to the EN pages.
2. You still did not answer my question to explain clearly how I can make these changes myself, so that I do not need to bother WPML with this issue in the future.
There are two approaches to edit templates, navigation menus, and patterns translation.
1) Using WPML editor:
1- Go to WPML-> Translation Management
2- Select the template
3- Select "Assign To Translator"
4- Send to translation
5- Go to Translation basket
6- Send it to translation to the first available translator
7- Go to WPML-> Translations
8- Click the translate/edit button
9- Change the translation in the editor and save it
2) WordPress editor:
1- Go to WPML-> Translation Management
2- Filter by template and the secondary language
3- Hover on the translated template name
4- Click Edit
5- Change the translation in the WordPress editor and update it
Please use one of the above approaches to translate the footer's links.