[Resolved] Cannot translate custom menu item links
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to see the translated custom link in the main menu, even though all other items were translated.
Solution: 1. We recommended checking the documentation on how to translate custom links in menus: Translating Menus. 2. We advised running the WP Menus Sync and then using String Translation to translate the custom links. 3. We identified issues with the WP Menus Sync on the client's website and resolved them by using the troubleshooting options in WPML. 4. We provided a screen recording demonstrating the solution: Screen Recording.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you still encounter issues, please do not hesitate to open a new support ticket with us.
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.
I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
It looks like the WP menu sync is not working correctly. Please restore the site and then we would like to request a site snapshot Alternatively, with your permission, we can create a snapshot on our own.
For this purpose, we typically recommend using the free plugin "Duplicator." If you are already familiar with how Duplicator works ( https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.
To assist you further, please follow these instructions:
Watch the Duplicator instructions video: hidden link
If the archive file exceeds 400MB in size, please utilize Duplicator's file filters to exclude the cache, wp-uploads directory, media, and archive files.
Once you have the archive file, please share the link with us. You can use services such as Google Drive, Dropbox, or similar platforms as the snapshot file will likely be large.
Please note that your next reply will be private, visible only to you and me. You can paste the link to the file there. Rest assured that once the issue is resolved, I will delete the local site.
Hi,
Yes, thanks, I am waitung on it. Seems, that is only a problem only with custom menu links. There are some other tickets to read and I have tried to overcome this by changing the custom link menu entry from the 1. level to the submenu and changed all menu names (other menus) so that there is no : anymore in the name, but all with result. The custom menu item is not shown in the translated name, in spite it is translated in the strings.
Thanks, kind regards
Eric
Unfortunately, I've been unable to synchronize the menu successfully; it appears empty after the sync. I'll need to escalate this issue to our 2nd Tier Support for additional assistance. I'll provide you with an update once I receive feedback.
Hi,
Thanks, OK, I see, that the menu is working now. But now I have all menus in the different languages. My idea was, to have only the English menu as the structure and then only translations. But this is not working with the custom links and I have to create an extra menu for every single language? But I can make this by the troubleshooting page automatically and don't have to create the menu for evenry language on my own? So I cannot have only one menu with translations only of the names? Thanks, kind regards
According to the instructions provided, "After the synchronization finishes, a notification at the bottom of the WP Menus Sync page prompts you to translate custom items using String Translation." Therefore, it is necessary to first run the WP Menus Sync and then proceed to translate the custom links using String Translation.
There were issues preventing the WP Menus Sync from functioning properly on your website, which have been resolved by implementing the troubleshooting options demonstrated in the video I shared with you earlier.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.