[Resolved] Where or how to translate internal links?
This thread is resolved. Here is a description of the problem and solution.
Problem:
I am working on a site under development and trying to translate internal link of the button using WPML, but the internal links do not show up in the Advanced Translation page.
If you need to translate the slug of the page itself, use these steps: 1) Activate the option "Translate (this will include the slug in the translation and not create it automatically from the title)" in WPML → Settings → Translated documents options. 2) Then, edit the page. Make a minor modification to the page, save it, and navigate to the WPML translation editor. The slug will be added to the translation. Translate or change it and save it.
This solution might be irrelevant if it's outdated or not applicable to your 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 this does not resolve your issue, 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.
Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.
You can also try using the "Translate Link Targets" option in WPML → Settings → Translate Link Targets and check if the links are automatically translated.
Please remember to back up your database before making any changes.
I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
I noticed that the page translation is incomplete. Please complete it and check if the link is automatically translated.
Thank you for the information. I visited your website and noticed that you mentioned the button link is not translated.
I can confirm that the page translation is completed and the button link is automatically converted to a translated version. Therefore, you only need to translate the title in the translation editor, and the link will be translated automatically. I have attached the screenshot.
I mean that the URL will be converted if you translate the page containing this button with the URL. It will be broken if you simply translate the button URL by changing the word in the slug URL. From what I can see, you need to change the slug of the page itself /prix-systeme-dalarme-lanaudiere/.
Here are the steps to follow:
1) Activate the option "Translate (this will include the slug in the translation and not create it automatically from the title)" in WPML → Settings → Translated documents options.
2) Then, edit the /lanaudiere-alarm-system-prices/ page (that you put to the button). Make a minor modification to the page, save it, and navigate to the WPML translation editor. The slug will be added to the translation. Translate or change it and save it.
3) Lastly, update the translated page by making minor modification to the original where you have this button.
I am referring to the /acknowledgement/ page (where the button is). You will also need to update the page translation. To update the page translation, modify the original page slightly, save it, navigate to the WPML translation editor, and complete the translation.
How about I make small changes to ALL my site pages? I presume I need to do this due to the change I make in settings:
Page URL
Auto-generate from title (default)
x Translate (this will include the slug in the translation and not create it automatically from the title)
Copy from original language if translation language uses encoded URLs