Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 1 year, 2 months ago.

Assisted by: Prosenjit Barman.

Author Posts
May 8, 2024 at 11:50 pm #15608003

venketeswaraS

Tell us what you are trying to do?

When i click the button link(internal) not directing to selected lang(EN).Always directing to default lang (FR).

Also done WPML > Settings > Translate Link Targets >Scan. Didn't work.
Is there any documentation that you are following?

Is there a similar example that we can see?
click any button in english version
hidden link , when clicking explore it should redirect to
hidden link

What is the link to your site?

hidden link

Screenshot 2024-05-09 at 01.17.47.png
Screenshot 2024-05-09 at 01.20.08.png
Screenshot 2024-05-09 at 01.42.32.png
May 9, 2024 at 8:43 am #15609462

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're facing. Please note that if your button, links to a page that has been translated, when you switch languages, WPML should automatically set the button's link to the appropriate language version of the page. This adjustment is handled by WPML for each language.

However, when you are translating a page that includes these links, you can also translate and correctly assign the link URL from the translation editor. For guidance on how to translate links within WPML, please refer to this guide: https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/#how-can-i-translate-urls-in-the-advanced-translation-editor

However, when I checked the English version of the page, I found that the links in each button are pointed correctly to the English page. I haven't noticed any issue there. Please check hidden link">this video for a better understanding.

Given that the links are operating properly in English, can we consider the problem resolved? If you continue to experience issues with the links, try clearing your site and browser caches and then recheck. This action should ideally solve the issue.

Let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

The topic ‘[Closed] Translate Link Targets not working’ is closed to new replies.