This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate the cart and mini cart on your website, but the changes do not appear on the live site despite the strings being translated. Solution: Manually edit the translated checkout page and translate the strings. Alternatively, you can edit the checkout page in the default language, replace the checkout block with the classic checkout, update it, and then update its translation.
If this solution does not resolve your issue or seems outdated, we 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 at https://wpml.org/forums/.
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.
Background of the issue:
I am trying to translate the cart and the mini cart of the store on my site hidden link. I have tried to translate the strings, and it seems that the text is translated in the strings, but the changes do not take effect on the live website.
Symptoms:
The text in the cart and mini cart does not reflect the translated strings on the live website.
Questions:
How can I ensure that the translated strings for the cart and mini cart take effect on the live website?
Before this ticket gets assigned to my colleagues, I will try to help.
The proper way to translate strings depends a lot on how they have been implemented inside the theme/plugin.
IMPORTANT: Sometimes, there are even duplicates of the same string and only one of them is the correct one that needs to be translated.
Method 1:
Go to WPML > String Translation and at the bottom of the page you will find a checkbox called "Look for strings while pages are rendered". You can enable (check) that and then go in the front end to a page where you have that string showing up and then go back to WPML > String Translation and search for that string and see if it now shows up.
Method 2: If you can't find them inside the WPML > String Translation, they might be added as admin text.
I tried both these methods, but I cannot seem to find any new strings that I should translate. One thing that I noticed is that when I enable "Look for strings while pages are rendered" the strings that I wanted to be translated are translated, but after I disable the mode the translations disappear, can you help me with this?
I'm Osama from WPML forums support. I'll be glad to help you today.
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 need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why 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.
Thank you for your help, seems that there have been translated a lot of elements. But there are still some issues, after translations the hidden link page seems to be broken, and I cannot find how to translate some texts in the checkout page: hidden link . Could you please help me with that?
New threads created by Osama Mersal and linked to this one are listed below:
Alternatively, you can edit the checkout page in the default language, replace the checkout block with the classic checkout, update it, and update its translation.
2) We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.
Therefore, I've split the shop page issue and created a new ticket with this issue.