Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
While working on the new version of a website using the Kadence Pro theme, the client added a CTA button in the header. However, after configuring the button for translations, all language versions of the button incorrectly linked to the German landing page.
Solution:
We resolved the issue by following these steps:
1. Navigated to WPML >> String Translation page.
2. Clicked on the 'Translate texts in admin screens' link at the bottom of the page.
3. Searched for the button URL string and enabled its translation.
4. Returned to the WPML >> String Translation page, assigned the correct source language, and added the correct translations.
We recommend the client to verify the changes by checking the updated translations.

If this solution does not resolve your issue, or if it seems outdated, we highly recommend opening a new support ticket. Also, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, you can contact us directly at WPML support forum.

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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Noman 2 months, 3 weeks ago.

Assisted by: Noman.

Author Posts
October 5, 2024 at 4:02 pm #16256826

amauryC-5

Background of the issue:
I am working on the new version of hidden link using the Kadence pro theme. I have created a CTA button in the header and managed to add this element so I can find the string to be translated into 'string translation'.

Symptoms:
For a weird reason, this messes up the destination URL: it links to the German landing page regardless of the language. The FR button leads to the DE landing page, the UK button leads to the DE landing page, etc.

Questions:
What did I do wrong?

October 6, 2024 at 9:16 am #16257668

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. I can see the the header button label is translated but the button URL have German page link: hidden link in all languages.

To take a closer look at this issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.

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

=== Please backup your database and website ===

✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.

Thank you

October 8, 2024 at 10:57 am #16265036

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for providing the login details. I followed the below steps:

1. Went to WPML >> String Translation page.
2. Clicked on the Translate texts in the admin screen link at the bottom of the page.
3. Searched for the button URL string.
4. Enabled it’s translation as you can see in the attached screenshot.
5. Went to WPML >> String Translation page, assigned the correct source language, and added the correct translation.

Now it seems to be working correctly. You should be able to update the translation from here if needed:
hidden link

Could you please check and confirm?
Thank you

Enable button URL translation.png
October 8, 2024 at 11:03 am #16265070

amauryC-5

Awesome thank you for your help