Skip Navigation

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

Problem:
The client wants to translate the string that was coming from theme/plugin files.

Solution:
1. Please go to WPML >> Theme and plugins localization page, select the “Jupiter Child Theme”, and Jupiter parent theme, and press the “Scan selected themes for strings” button.

2. Please go to WPML >> Theme and plugins localization page, select the “Jupiter Core”, and WooCommerce plugins, and press the “Scan selected plugins for strings” button.

3. Please go to WPML >> String Translation page and search for your required string and add the translation.

4. If the above steps don’t help, please try the below procedures:

4.1. Go to the WPML >> String Translation page and in the Auto register strings for translation section, enable the ‘Look for strings while pages are rendered’ option.

4.2. Re-visit the page on the front end where the string appears.

4.3. Re-visit the WPML >> String Translation page and search for that string.

4.4. Translate the string.

4.5. After translating the string, uncheck the auto-registration option.

Relevant Documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#scanning-for-hard-coded-strings

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 4 replies, has 3 voices.

Last updated by Sergio Torres 1 year, 11 months ago.

Assisted by: Noman.

Author Posts
June 23, 2023 at 1:56 pm #13885263

Sergio Torres

Tell us what you are trying to do? - i want to translate to portuguese the field quantity

Is there any documentation that you are following? - I searched online without sucess

Is there a similar example that we can see? - hidden link

What is the link to your site? hidden link

June 26, 2023 at 7:34 am #13892631

Dražen
Supporter

Languages: English (English )

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

Hello,

I just checked the links you shared and I can see quantity is translated to Quantidade, so it looks to me like you solved the issue on your own.

Let us know if you still need help.

Regadrs,
Drazen

June 26, 2023 at 2:37 pm #13896409

Sergio Torres

Hi. I still see in private window in 3 different browsers in english. In attachment. Thank you

firefox.jpg
chrome.jpg
edge.jpg
June 26, 2023 at 3:20 pm #13896883

Noman
WPML Supporter since 06/2016

Languages: English (English )

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

Hi,

Thank you for contacting WPML Support. Thanks for the screenshots. Yes, I can see the untranslated Quantity string on Portuguese product page: hidden link

Could you please follow the below steps and let me know how it goes:

1. Please go to WPML >> Theme and plugins localization page, select the “Jupiter Child Theme”, and Jupiter parent theme, and press the “Scan selected themes for strings” button.

2. Please go to WPML >> Theme and plugins localization page, select the “Jupiter Core”, and WooCommerce plugins, and press the “Scan selected plugins for strings” button.

3. Please go to WPML >> String Translation page and search for your required string and add the translation.

4. If the above steps don’t help, please try the below procedures:

4.1. Go to the WPML >> String Translation page and in the Auto register strings for translation section, enable the ‘Look for strings while pages are rendered’ option.

4.2. Re-visit the page on the front end where the string appears.

4.3. Re-visit the WPML >> String Translation page and search for that string.

4.4. Translate the string.

4.5. After translating the string, uncheck the auto-registration option.

5. If still an issue persists, please provide temporary access (WP-Admin and FTP Login info) to your site, so that I can look into your setup and debug the issue.

Your next answer will be private which means only you and I have access to 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 really important.

Here is a doc for more details:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#scanning-for-hard-coded-strings

Thank you