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 'Cash on delivery' to English on their site using WPML, but it incorrectly displays as 'Replacement'.
Solution:
If you're experiencing this issue, we recommend checking if the string 'Cash on delivery' is available in WPML > String Translation. If it's not there, it might be due to the way the string is coded in the theme or plugin, which might not be internationalized properly. Here are two methods you can try:

Method 1:
Go to WPML > String Translation and enable the option 'Look for strings while pages are rendered' at the bottom of the page. Then, visit the page where the string appears and return to WPML > String Translation to see if the string now appears.

Method 2:
If the string is not found in the usual place, it might be categorized as an admin text string. You can find and translate admin text strings by following the instructions here: Translate Admin and Settings Strings

Related documentation:

If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at WPML Support Forum.

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 1 reply, has 0 voices.

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

Assisted by: Mihai Apetrei.

Author Posts
February 23, 2025 at 7:50 pm #16738171

elgiC

Background of the issue:
I'm trying to translate 'Cash on delivery' on my site hidden link using WPML. In Greek, it translates correctly to 'Αντικαταβολή', but in English, it displays as 'Replacement'.

Symptoms:
The translation for 'Cash on delivery' is incorrect in English, showing 'Replacement' instead.

Questions:
Why does 'Cash on delivery' translate to 'Replacement' in English?
How can I correct the translation for 'Cash on delivery' using WPML?

hidden link

February 23, 2025 at 9:31 pm #16738676

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there, and thank you for reaching out.

Can you please let me know if you checked and searched for the string inside WPML > String Translation > to see if you can change the translation for the English version?

If you already did that and it's not there, please note that certain strings may require a specific procedure to be located and translated.

Moreover, the proper method for translating strings greatly depends on how they have been incorporated into the theme/plugin. Some plugins might not even be written in a way where the coded strings are implemented in an "internationalized" way so that is why no multilingual plugin might be able to see the strings out of the box without some extra work upfront.

IMPORTANT: Sometimes, there are even duplicates of the same string and only one of them is the correct one that needs to be translated.

Also, sometimes, simply removing the string (checking the box and removing it) and then re-registering it again by scanning for it (one of the methods below) and re-translating it resolves the issue.

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 afterward 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/

Please keep me informed about your progress.

Mihai Apetrei