|
|
Background of the issue:
I am trying to translate a template with a few buttons containing anchor links to other internal pages on my site hidden link. The menu-anchors in these pages are translated. In the translation of this template, the first part of the link to the page is translated correctly, but the anchor itself remains untranslated, so the anchor is not found. In the template, I cannot find any links, even when I search for "https:".
Symptoms:
The anchor part of the internal links in the translated template is not being translated, causing the anchor not to be found.
Questions:
How can I ensure that the anchor links are translated correctly in the template?
Why are the anchors not being translated even though the page links are?
|
|
|
You asked me to make a test with a new German page. I inserted the same button into a new page and translated this page to English the link is translated the same way as before.
Link to Page is translated, but the Menü Anchor is not.
hidden link
|
|
|
Thanks for trying it. To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.
Your next answer will be private which means only you and I have access to it.
=== Please backup your database and website ===
✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.
Thank you for your cooperation
|
|
frankG-4 |
Please have additionally a look at the wpml menu. I am missing the "translation management" entry since the latest update of WPML.
|
|
|
Thanks for providing the login details. Could you please upgrade my user role to Administrator so that I can access the site dashboard and debug this issue.
As per our support policy, we address one issue per ticket to ensure focused and efficient assistance. Therefore, I’ve created a new ticket specifically for the Translation Management missing problem at: https://wpml.org/forums/topic/missing-the-translation-management-entry/
Thank you
|
|
|
Oh Noman, I am sorry. You have admin rights now...
|
|
|
I logged in to your site and followed these steps:
1. Opened the default language "Test WPML" page in Edit mode:
hidden link
2. Made a small change in the page title and clicked "Update" to reload the translation.
3. Reverted the change and clicked "Update" again.
4. Clicked the secondary language icon to open the translated page in the WPML Translation Editor, the button URL was then available for translation.
5. I edited the hash part of the URL, and it now shows the updated link correctly.
Could you please check if this resolves the issue, or let me know if I missed anything?
Thank you for your cooperation
|
|
|
Hi Noman, thanks for this update, I can see the button link as well. But I tried this with another page and it did not work. Can you please test this again with this page (under /templates , second page "Digitale Handrefraktometer Vergleich") hidden link.
I tried to change the Page title to Digitale Handrefraktometer-Vergleich, updated and deleted the - again and updated and translated to EN or ES, but I do not find any button link, only the button title.
This is the page, where the problem happens.
|
|
|
Thanks for the additional details. To update the button link manually, I followed the below steps:
1. Added below XML in WPML >> Settings > Custom XML Configuration section:
<widget name="button">
<fields>
<field>text</field>
<field>link>url</field>
</fields>
</widget>
2. Made a small change in the default language page to reload the translation.
3. Opened the translated page and searched for the URL and added translation as you can see in the attached screenshot.
Could you please try to follow these steps and see if this resolves the issue.
Thank you
|
|
|
Yes, thank you. With this solution I can live.
|