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

Last updated by Waqar Ali 6 months, 2 weeks ago.

Assisted by: Waqar Ali.

Author Posts
May 28, 2024 at 4:55 am #15676177

valentinB-22

Background of the issue:
I am trying to translate a string on my WordPress site using the WPML plugin.

Symptoms:
I am experiencing issues with string translation.

Questions:
How can I successfully translate a string using WPML?
Is there a specific procedure or documentation I should follow for translating strings in WPML?

May 28, 2024 at 5:35 am #15676224

Waqar Ali

Hi,

Thank you for contacting us and I'd be happy to assist.

We have detailed documentation on using the string translation feature at:
https://wpml.org/documentation/getting-started-guide/string-translation/

I hope this helps and please let me know if you need further assistance.

regards,
Waqar

May 28, 2024 at 6:31 am #15676280

valentinB-22

I have already followed the documentation but couldn't find the string. Can you please do it for me? You can find this issue on my product shop pages and category pages. Let me know what information you need, and please fix it as soon as possible.

hidden link

May 28, 2024 at 7:08 am #15676495

Waqar Ali

To troubleshoot and suggest the next steps, I'll need to see how WPML and WooCommerce are set up on the website.

Can you please share the temporary admin login details of the website?

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

May 28, 2024 at 11:18 am #15678023

Waqar Ali

Thank you for sharing the access details.

From the string translation section, I temporarily enabled the option 'Look for strings while pages are rendered'.

After that, I was able to find and translate the text 'All' and 'In Stock' from the same string translation screen.
( screenshots attached )

string-translation-all.png
string-translation-in-stock.png
May 28, 2024 at 11:36 am #15678097

valentinB-22

Thank you Waqar,

Can you please let me know how can you enable 'Look for strings while pages are rendered'. it will help me out to changes the string in future?

May 28, 2024 at 12:04 pm #15678199

Waqar Ali

You're welcome and glad I could help.

Please go to WP Admin -> String Translation and at the bottom, you'll see a section 'Auto register strings for translation'.
(screenshot attached)

Enable the option 'Look for strings while pages are rendered' and then visit the frontend page where that string to find is showing.

After visiting that frontend page, you can search for the string in the String Translation section again.

look-for-string.png