Skip to content Skip to sidebar

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

Problem:
You are experiencing issues with translating certain words on the checkout page of your site using WPML's String Translation feature. Some words do not appear, and others do not translate even after being found and translated.
Solution:
The issue might be related to caching, specifically caused by the "WP-Optimize - Clean, Compress, Cache" plugin. We recommend clearing your site's cache after updating content in any language. This action should help in reflecting the translated strings on your site.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, 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. Should these steps not provide a resolution, please do not hesitate to open a new support ticket with us for further assistance 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 9 replies, has 2 voices.

Last updated by Lucas Vidal de Andrade 1 year, 5 months ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
August 29, 2024 at 12:56 pm

kendallR

Background of the issue:
I am trying to translate some words on the checkout page of my site hidden link using WPML. I have used the String translation feature.

Symptoms:
Some words on the checkout page do not translate. Some words are not found, and some are not translated even after searching and translating using String translation.

Questions:
Why are some words on the checkout page not translating?
How can I find and translate words that are not found in String translation?
What should I do if some words are not translating even after using String translation?

August 29, 2024 at 3:24 pm #16121058

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

I tried downloading a copy of your website to check for conflicts between plugins or your theme, but I wasn't able due to network interruptions.

To further check that, I've set up a testing website, so we can analyze how the theme behaves in an isolated environment. To achieve that, I need you to simply install and activate the WoodMart theme in this website. You can access it here:
hidden link

Please let me know when you're done, so I can test the functionalities. Thanks in advance for your cooperation 🙂

With the testing environment, we can see if the issue is specific to your website or if it's a compatibility issue between WPML and Woodmart.

August 29, 2024 at 8:09 pm #16121926

kendallR

Done. Woodmart installed and activated

August 30, 2024 at 12:18 pm #16124700

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+01:00)

Thank you so much.

In the testing environment, all the text is fully translated on the Checkout page, even the ones you marked with the arrow. That indicates that the problem is specific to your installation, possibly being caused by a conflict with a third-party plugin.

To check that directly, I'd like to get a copy of your website. Can you please provide me with one?

Here are the details on how to do that:
https://wpml.org/pt-br/faq/provide-supporters-copy-site/

You can upload it to Google Drive, or another service you prefer.

September 1, 2024 at 2:56 pm #16129147

kendallR

I made a copy, uploaded it in a private reply.

September 2, 2024 at 10:24 am #16131009

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+01:00)

Thank you. I'm checking it right now and will get back to you.

September 2, 2024 at 11:40 am #16131324

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+01:00)

Hey there,

Thank you for sharing the copy. I checked it, and wasn't able to find any conflicts or misconfigurations that could be causing this issue. I escalated your ticket to our development team, which will look further into it.

Once I have feedback from them, I'll let you know. Thank you.

September 4, 2024 at 5:06 pm #16142082

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+01:00)

Hey there,

After analyzing your website and sending it to our devs, it appears that issue was resolved by itself. It's unusual, but happens occasionally.

Can you please check on your end if everything is translated as expected? Perhaps it was a caching issue, that was preventing the page to show the proper translations. Please see the image attached.

As for the widgets on the side-column, please check our docs on it:
https://wpml.org/documentation/getting-started-guide/translating-widgets/

image2.png
September 5, 2024 at 12:12 pm #16144978

kendallR

So, what should I do next time if this happens again? What is the best way to clear the cache on the site?

September 5, 2024 at 1:59 pm #16145576

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+01:00)

It's likely that the "WP-Optimize - Clean, Compress, Cache" caused this behavior. It's a good practice to always clear the cache after updating content, in any language. I added an image, showing the location.

Screenshot 2024-09-05 at 10.59.17.jpg
September 5, 2024 at 6:42 pm #16146462

kendallR

Got it, thanks a lot.