Skip Navigation

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.

This topic contains 13 replies, has 0 voices.

Last updated by carmM 4 days, 19 hours ago.

Assisted by: Prosenjit Barman.

Author Posts
November 7, 2024 at 8:49 pm #16380012

carmM

Background of the issue:
I am trying to translate a site from English to Canadian French using the Avada theme. We are using WPML for translation.

Symptoms:
The links are not updating in French. I tried scanning the links in the settings area as suggested, but that tool isn't working.

Questions:
Why are the links not updating in the French translation?
Is there an alternative method to update the links in the translated content?

November 8, 2024 at 6:45 am #16380660

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There!
Thanks for contacting WPML Support.

I understand the issue you're having. Typically, internal links should automatically update to reflect the correct language versions, if translations are available. If you notice any links not correctly updating in other languages, please verify that the linked pages have been translated and are accessible in the language where you're having the issue. Sometimes, if the translated page is saved in Draft, you may also encounter this kind of issue. So, it is important to make sure that the translated pages are published.

If the pages are translated and published and the issue persists, please try editing and saving the original page with the links, ensure that the links are added in hidden link">relative format then update its translations. Often, updating the translations resolves such issues.

For links added with an anchor tag (`<a>`), please refer to the steps outlined in the guide below to learn the process of translating such links correctly.

- https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/

I hope the information above will help to solve the issue. Feel free to let me know if you need further assistance in this matter. I'll be happy to help.

Best regards,
Prosenjit

November 8, 2024 at 1:17 pm #16382152

carmM

Thank you these steps did not work. Do I have to manually update the link translations then?

November 11, 2024 at 4:25 am #16386483

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
I hope you're doing well. Sorry for the delay in responding due to the weekend.

Thank you for the update. Since links are updated automatically and can also be translated through the Translation Editor, manual updates are generally not recommended.

Could you please share the link to the page where the links are not displaying correctly? This will allow me to review how the link was added and suggest the next steps.

Looking forward to your response.

Best regards,
Prosenjit

November 11, 2024 at 12:42 pm #16388565

carmM

Hi there, here is an example of a page. Most pages either links to english or they link back to the page that you are on. hidden link

November 11, 2024 at 5:30 pm #16389863

carmM

We are trying to launch this website but cant until this is fixed.

November 12, 2024 at 4:04 am #16390728

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for the update!

I understand the urgency and will try my best to assist you in this matter!

I inspected the page and found that most of the links are embedded in the text using anchor (`<a>`) tags. As mentioned in my initial message, these links need to be translated through the Translation Editor, as they won’t update automatically.

Please make a small update to the default page, then proceed to update the translation. In the Translation Editor, check the paragraphs where you've added the links; you’ll see the text with links highlighted, along with a box to add the translated link. Refer to this screenshot: hidden link.

Add the desired link for the other language there. Please carefully read and follow the steps in this guide, and you should be able to translate the link without any issues.

Please try and let me know how it goes. If you need clarification with any step or need further assistance, feel free to reach out! I will be happy to help.

Best regards,
Prosenjit

November 14, 2024 at 2:17 am #16400470

carmM

OK so tried what you are saying and running into this: hidden link

Using latest version of theme, all plugins, wordpress and wpml

November 14, 2024 at 2:26 am #16400476

carmM

If you take a look at hidden link the text services d’autobus scolaires nolisés and devis de charte which are also blank href tags i cant seem to get the changes to stick

November 14, 2024 at 3:48 am #16400567

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There!
Thank you for the update.

I reviewed the video and understand the issue. Since saving the link and completing the translation isn’t possible, refreshing the translation editor may help. However, because you've used an anchor tag (`<a>`) to link to an internal page, searching by typing "HTTP" for translation won’t be helpful. Instead, you need to translate the link directly from the segment containing the entire paragraph where the link appears.

Since the link is added within the paragraph starting with "Large, Mini, and Accessible School Buses," click on that segment, and you’ll see a field where you can add the translated link. Please refer to this screenshot for guidance: hidden link

Enter the link in the box and save the change. The box may initially appear locked, but you can click the 'lock' icon to unlock the field for editing. Once unlocked, you can enter the translated page link, which will then also appear in the "href" attribute on the translated page.

I hope you can understand. Please try and let me know how it goes. If you need further assistance or clarification, feel free to reach out. I'll be happy to help.

Best regards,
Prosenjit

November 14, 2024 at 12:38 pm #16402604

carmM

I tried what you said and it wont update hidden link on the front end link doesnt update as well.

November 15, 2024 at 4:02 am #16405646

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
Thank you for the update.

I watched the video and noticed that you're unable to save the link or the segment. Additionally, there’s no lock icon to secure the link for the text. Could you please check in the translation editor if unlinking the segment by clicking the icon shown in this screenshot (hidden link) allows you to save the link and segment and complete the translation?

If you're still having issues, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields 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.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

November 15, 2024 at 2:31 pm #16408908

carmM

What you suggested resolved the issue for the most part. But then I still had some items that were stuck in review. I then solved the secondary issue by using: https://wpml.org/forums/topic/translation-completed-but-stuck-at-97/

November 18, 2024 at 4:45 am #16412686

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There!
I hope you're doing well. Sorry for the delay in responding due to the weekend

Thank you for the update! I’m glad to hear that the suggestion helped resolve the issue and that you successfully addressed another problem by following the instructions from a different ticket.

If the issue reported in this ticket has been resolved, please consider marking this thread as resolved. If you’re experiencing a different issue unrelated to the one reported here, I kindly ask you to create a new ticket for that matter. One of our supporters will take over the new ticket and assist you further.

Best regards,
Prosenjit

November 18, 2024 at 2:05 pm #16415185

carmM

Thanks there are definately bugs