Skip Navigation

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

Problem:
The client is unable to translate a button in the header and change its URL for different languages using theme settings.
Solution:
We recommend the following steps to resolve the issue:
1. Navigate to WPML > String Translation and scroll down to the bottom of the page. Look for a checkbox labeled "Look for strings while pages are rendered" and enable it. Then, visit the front-end page where the string appears and return to WPML > String Translation to search for the string.
2. If the string is not found in WPML > String Translation, it might be registered as an admin text. Follow the process outlined in our documentation to find and translate admin text strings: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket.

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

Last updated by Mihai Apetrei 1 year, 3 months ago.

Assisted by: Mihai Apetrei.

Author Posts
February 12, 2024 at 11:43 am #15292857

tadejO

Hi,
I'm trying to translate button in the header and I cant do it.

hidden link.

This translation is visible in English but not in Italian. I would also like to change the url of the button for other two languages. This is in theme settings. Am i missing something?

Posnetek zaslona 2024-02-12 124252.png
Posnetek zaslona 2024-02-12 124117.png
February 12, 2024 at 11:53 am #15292953

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Before this ticket gets assigned to my colleagues, I will try to help.

The proper way to translate strings depends a lot on how they have been implemented inside the theme/plugin.

Sometimes, there are even duplicates of the same string and only one of them is the correct one that needs to be translated.

Also, sometimes, simply removing the string (checking the box and removing it) and then re-registering it again by scanning for it (one of the methods below) and re-translating it resolves the issue.

1. Please try this:

Go to WPML > String Translation and at the bottom of the page you will find a checkbox called "Look for strings while pages are rendered". You can enable (check) that and then go in the front end to a page where you have that string showing up and then go back to WPML > String Translation and search for that string and see if it now shows up.

2. If you can't find them inside the WPML > String Translation, they might be added as admin text.

This should be the normal process to find and translate admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please let us know how that goes.

Kind regards,
Mihai Apetrei