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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

Tagged: 

This topic contains 0 replies, has 1 voice.

Last updated by Osama Mersal 3 days ago.

Assisted by: Osama Mersal.

Author Posts
December 9, 2024 at 8:10 pm #16494975

rannooo

Background of the issue:
I am trying to have links directing users to other pages, but they are not localized. The issue can be seen on the page: hidden link.

Symptoms:
Internal links are not auto-translated when using the ACF Link field inside Flexible content. The link remato.com/pricing stays as remato.com/pricing instead of changing to remato.com/et/hinnakiri.

Questions:
Why are internal links not being auto-translated when using the ACF Link field?
How can I ensure that links are localized correctly?

December 12, 2024 at 5:28 am #16506010

Prosenjit Barman
Supporter

Languages: English (English )

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

Hi There!
Thanks for reaching out to WPML Support.

Before this thread gets assigned to my colleague, I'd like to offer some initial guidance or potential solutions.

Since you're using the ACF Link field and selecting internal links, the links should update automatically during translation. However, this depends on whether the associated page exists in the language you’re viewing. If the page is not available in that language, the link will not be updated.

If you can confirm that the page exists and the issue persists, please try the following steps to see if they help resolve the problem:

- Please go to `WPML > Settings` and scroll to the Translate Link Targets section.
- Click on the "Scan now and adjust links" button and wait till the process is completed.
- Once done, resave the permalink structure by going to "Settings > Permallinks", clear the caches, and check again.

Please give it a try and let us know how it goes. We'll be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

December 12, 2024 at 7:06 pm #16509315

rannooo

1. I confirm that these pages exist in all other languages
2. I followed your steps but links are still not translated

Note that I can see the link URLs in the translation interface when I search for them (without being autotranslated).

December 16, 2024 at 12:35 pm #16517333

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply; it was due to a higher workload.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 19, 2024 at 9:45 am #16529207

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the access details. I got a critical error message when trying to edit the home page in the default language.

I tried to install the Duplicator plugin to take a local copy of the site to debug the issue further, but your server banned it.

Would you please share a snapshot of your site to install it locally and debug the issue?

Best regards,
Osama

December 19, 2024 at 4:56 pm #16531215

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for the package. I was able to replicate the issue on this hidden link">sandbox site. The issue can be seen on this hidden link">page.

I'll consult our 2nd tier support team and update you as soon as I get their reply.

Best regards,
Osama