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 Mihai Apetrei 1 year, 10 months ago.

Assisted by: Mihai Apetrei.

Author Posts
May 24, 2022 at 8:30 pm #11296861

shadiK

Can't find a string to translate it...

"You only need... bla bla"

11283029-Screenshot_2022_05_23_192847.png
May 24, 2022 at 8:32 pm #11296941

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there.

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.

I will share a couple of steps that you can follow and see if any of them helps you find and translate those strings (step 2 or 3 might be the one that you are looking for).

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/

Please let me know how that goes.

Kind regards,
Mihai Apetrei

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.