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 1 reply, has 2 voices.

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

Assisted by: Prosenjit Barman.

Author Posts
October 25, 2023 at 1:25 pm #14661355

jamesG-38

I am trying to:

Use a Elementor button to internal pages in non-english languages and WPML does not find the correct page and fails. It should be automated as per this link https://wpml.org/documentation/plugins-compatibility/elementor/#translating-buttons

Link to a page where the issue can be seen:
hidden link

I expected to see:
When I clock the button RESERVEZ UN SERVICE it should go to hidden link but instead it goes to hidden link.

This same incorrect behaviour also occurs for all other non English languages.

Please help.

Instead, I got:

Screenshot 2023-10-25 at 15.20.02.png
Screenshot 2023-10-25 at 15.19.00.png
Screenshot 2023-10-25 at 15.18.36.png
October 26, 2023 at 9:17 am #14668465

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 and will try my best to assist you in this matter.

Indeed the link on the button should get updated automatically but, if you later modify the slug of the primary page, the link will not adjust on its own. Please try the following steps and check if that helps to solve the issue.

- Since the 'RESERVEZ UN SERVICE' button is a part of the Elementor Header template, please open the default template in Elementor Editor
- Remove the link from the button and add it again in relative format['/service-category/']. Since you're using Elementor PRO, it would be better if you could link the page with the button using the Dynamic field feature of Elementor.
- Save the changes, exit from the Elementor editor, and try to update the translation of the template by following the instructions here: https://wpml.org/documentation/plugins-compatibility/elementor/#translate-elementor-templates

Please let me know if that helps to solve the issue or you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit