This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with certain string translations not working as expected on the checkout page, specifically within the Credit Card details section.
Solution: We recommend the following steps to resolve the issue: 1. Navigate to WPML-> Theme and plugins localization, select your theme/plugin, and scan for strings. 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 you wish to translate. 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 if the translations are reflected on the front end.
Certain string translations are not working as expected.
We have set the string translations for the specific texts on the WPML String Translation settings but it is not being reflected on the other languages.
In our case, we have a Credit Card details section on the checkout page that has a few fields (number, exp date, cvc). A couple of these field labels are not translated on the page.
I have attached a few screenshots for reference -
This is a test page for purchase - hidden link
Clicking on the button here will take you to the checkout page where the Credit Card section is present.
Can you please let us know what we can do to resolve this issue?
Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply due to a higher workload. Please let me know how this payment method is added to your site and how these strings are added.
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
I completed the plugin scan as you mentioned and checked the String Translation text as mentioned on the 3rd point but I am not able to find the two strings there that need to be translated.
The plugin we are using for this payment section is from Easy Digital Downloads.
As mentioned, I could not find the specific texts in the "admin screens" link you mentioned but I did check the String translation page and these translations are already added but they do not reflect correctly on the front end.
Thanks for your update. 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.