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.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Mihai Apetrei 2 weeks, 2 days 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
Supporter

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