Skip to content Skip to sidebar

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

Problem:
The client is trying to translate the WooCommerce checkout and cart pages using WPML but is unable to find and translate certain strings despite following the provided documentation.
Solution:
We recommend trying two methods to locate and translate the strings:
Method 1:
Navigate to WPML > String Translation and at the bottom of the page, check the option "Look for strings while pages are rendered." Then, visit the front end of the page where the string is displayed, and return to WPML > String Translation to search for that string.
Method 2:
If the strings are not found in WPML > String Translation, they might be included as admin text strings. You can follow the process outlined in our documentation to find and translate admin text strings: Translate Admin and Settings Strings
Related documentation can be found here: Finding Strings that Don't Appear on the String Translation Page
Please note that if the strings originate from outside of WordPress, WPML will not be able to detect or translate them.

If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.

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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Mihai Apetrei 1 year, 1 month ago.

Assisted by: Mihai Apetrei.

Author Posts
November 2, 2024 at 3:07 pm #16356858

inayatK

Background of the issue:
I am trying to translate the WooCommerce checkout and cart pages on my site hidden link. I have read the documentation about .po and .mo files.

Symptoms:
I have tried translating the WooCommerce checkout and cart pages, but it hasn't worked.

Questions:
How can I successfully translate the WooCommerce checkout and cart pages using WPML?

November 2, 2024 at 3:13 pm #16356861

inayatK

I already followed the documentation, but it didn't help me.

November 3, 2024 at 6:03 am #16357410

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there, and thank you for reaching out.

Certain strings may require a specific procedure to be located and translated. There may also be duplicate strings; we need to find and translate the correct ones.

Moreover, the proper method for translating strings greatly depends on how they have been incorporated into the theme/plugin.

Please attempt both methods and check if either of them resolves the issue.

Method 1:

Navigate to WPML > String Translation and at the bottom of the page, you will find a checkbox labeled "Look for strings while pages are rendered." You can enable (check) that option, then go to the front end to a page where the string is displayed, and afterwards return to WPML > String Translation to search for that string and see if it now appears.

Method 2:

If you can't locate them within WPML > String Translation, they might be included as admin text strings.

This is the typical process for finding and translating admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

Related documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

PS: There is also something important to mention; if the strings come from outside of WordPress, it would be impossible for WPML to see or translate them.

Please keep us informed about your progress.

Mihai Apetrei