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 5 replies, has 2 voices.

Last updated by massimoS-6 2 months, 1 week ago.

Assigned support staff: Mihai Apetrei.

Author Posts
April 3, 2021 at 3:39 pm #8460379

massimoS-6

Hello,

for a customer of mine, on hidden link I am trying to translate the link of the button in the header.
The content of the button is correctly translated into German and French, but the link is always pointing to the german contact form.
I have found and translated some occurrences of the button in strings translation but I othing changed.
I attach a screenshot of the main header, the button is on the right.

Can you help?
Thanks

Screenshot 2021-04-03 at 17.36.47.png
April 5, 2021 at 11:23 am #8466079

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

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

1. You can go to WPML > String Translation and search for any of the strings and see if there are any results

Here is some very helpful documentation on how to use the String Translation plugin:
https://wpml.org/documentation/getting-started-guide/string-translation/

If it's not there, it could help if you scan the plugin/theme that's generating the strings and then go back to WPML > String Translation and see if the strings show up:
https://wpml.org/documentation/getting-started-guide/theme-localization/

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/

3. You can also try to 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.

4. This link might help, too, in case the string is hard-coded in the theme files:
https://wpml.org/documentation/support/translating-the-theme-you-created/

In your case, it seems that the string might be an admin-text string so step 2 might solve this for you.

Please let me know how that goes.

Kind regards,
Mihai Apetrei

April 5, 2021 at 11:54 am #8466257

massimoS-6

Hi,
well, I have tried 1,2 and 3 already.
Could you check if I give you access?
If there is no way, then I will go for 4th

Thanks!
Max

April 5, 2021 at 9:33 pm #8468813

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi Max.

Sure, I'm more than happy to check for you.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of the site files and database before providing us access.

- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.

The private box looks like this: hidden link

I will be waiting for your response.

Kind regards,
Mihai Apetrei

April 8, 2021 at 9:42 am #8489767

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there and thank you for the credentials.

I found the strings by following STEP 2 that I shared here:
https://wpml.org/forums/topic/cannot-translate-a-button/#post-8466079

I also translated the URL for you and I will also attach some screenshots so that you can see what I did.

Mihai

Screenshot 2021-04-08 at 12.37.52 PM.png
Screenshot 2021-04-08 at 12.39.32 PM.png
Screenshot 2021-04-08 at 12.37.42 PM.png
April 8, 2021 at 1:45 pm #8493159

massimoS-6

My issue is resolved now. Thank you!