[Resolved] Split: menu/navigation links now include “/en/”
This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported issues with menu links still pointing to the English version after changing the Language URL format and translating the menu from English to French. Additionally, the French URLs were missing parent categories, leading to broken pages. Solution: We advised the client to ensure that the menu is translated in all languages, not just English. This can be done from the Appearance > Menus section in WordPress, where they can click the + icon to add translations for other languages. For detailed guidance, we recommended checking the documentation on translating menus at https://wpml.org/documentation/getting-started-guide/translating-menus/. Regarding the URL issues and missing parent categories, we opened a new ticket to address this as it appeared to be a separate issue.
Please note that the solution provided might be outdated or not applicable to your specific case. 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 problem persists, 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.
The issue seems to be resolved after I updated the plugin file as you suggested. Hopefully, a permanent fix will be released soon since this change will be lost if the plugin gets updated.
I’ve also changed the Language URL format from “Language parameter” to Different languages in directories.
However, I noticed that my menu/navigation links now include “/en/” in the URLs. For example:
• Home Page: hidden link
• Menu → Products → General Hand Tools: hidden link
This page should load as hidden link — without the /en/ directory.
Could you please advise why the menu links are still pointing to the English version and how I can make them load the French version instead?
I am unable to translate the menu. When I opened my Translation Dashboard, it won't show the all the available menus. For example, I have four menus in EN but unable to see these manu in translation dashboard (under Site Templates or Navigation Menus) sections. check the attachments for reference.
that is not the way to translate the menu, the menu that shows in Translation Dashboard is menu created with WP Full site editing templates, that is not the one you are using.
You should translate your regular menus from Appearance > Menus and by clicking the + icon.
Hey,
Is it possible if we can mark oxtools.fr as under devlopment site Because each time when we translate the WC products, it uses the credits. We don't want to spend the credits as we are still figuring out this plugin.
You can re-register your WPML key as a development key.
Regarding the translation credits, you can pause automatic translation from WPML > Translation Dashboard.
Also, please note that we handle one issue per ticket. If you have any other questions or doubts, kindly open a new ticket or start a new chat — we’ll be happy to help.
Regarding the menu, I translated it from English to French as per your suggestion and by following the provided documentation. However, the menu links in the French version are not correct — specifically for the Products subcategories.
The table below compares the AU and FR site menus for better understanding:
• EN: hidden link
• FR: hidden link
Issue:
If you look closely, you’ll notice that the French URL is missing the parent category (general-hand-tools).
Even when I manually add the parent category, it still leads to a broken/error page: hidden link
Could you please advise on how we can correctly link these translated product categories or if there’s a setting we might have missed during translation?
Thanks
New threads created by Dražen and linked to this one are listed below: