Skip Navigation

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

Problem:
The client is unable to translate certain WooCommerce strings because they do not appear in the WPML String Translation interface. The strings are related to the 'your cart' text on the cart page and various elements on the account page.
Solution:
1. Navigate to WPML-> Theme and plugins localization, select the theme/plugin, and scan for strings.
2. Go to WPML-> String Translation.
3. Click on the "Translate texts in admin screens »" link.
4. Search for the required strings.
5. Select the strings you wish to translate.
6. Click on the "Add to String Translation" button.
7. Return to the String Translation page by clicking on the "« Return to String Translation" link.
8. Translate the strings, clear the cache, and then check the front end.
For more detailed instructions, please refer to our guide on translating texts in the admin texts screen.

If this solution does not seem relevant to your issue, please do not hesitate to open a new support ticket with us here.

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 2 voices.

Last updated by Osama Mersal 1 year, 4 months ago.

Assisted by: Osama Mersal.

Author Posts
December 19, 2023 at 10:39 am #15091423

remcoH-4

I am trying to translate some woocommerce strings.
The current theme puts them in English, but my website is in Dutch.
String translation can not find them, hope you can help me out!

The strings:
hidden link -> "your cart"
hidden link -> a lot of elements
The cart popup -> "your cart"

None of these strings show up in string translation..
I already tried "Scan the selected components to make new texts available for translation."
Hope you can help me out!

December 19, 2023 at 1:03 pm #15092777

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Please try the following steps:

1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on the "« Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

/* Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M');

Best regards,
Osama

December 19, 2023 at 3:27 pm #15094311

remcoH-4

Thank you very much for your reply.
Following your steps solved 99% of my problem.
The only string I am still unable to translate is the title of the cart popup, like in the screenshot.
This is an Elementor/theme/Woocommerce string I guess.
Can you help me with this?

BTW I also increased the WP memory limit, thanks!

scr.png
December 19, 2023 at 3:46 pm #15094607

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 19, 2023 at 7:43 pm #15096429

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for the access details. I was able to find and translate the cart string under the "vamtam-elementor-integration" text-domain. (hidden link)

Please check if it works as expected.

Best regards,
Osama

December 19, 2023 at 8:05 pm #15096495

remcoH-4

you are amazing, many thanks 🙂