Skip Navigation

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

Problem:
The client is facing an issue where the cart page does not automatically translate when using the language picker, although the checkout page translates correctly.
Solution:
If you're experiencing this issue, we recommend the following steps:
1. Ensure that the Cart page is translated and published in all required languages by visiting Pages>>All Pages.
2. If the problem persists, perform a full site backup and follow these troubleshooting steps:
- Navigate to WPML>>Support page, and click on the Troubleshooting link.
- On the Troubleshooting page, under the Clean up section, sequentially click and process:
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your case, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket 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 1 reply, has 2 voices.

Last updated by Bigul 9 months ago.

Assisted by: Bigul.

Author Posts
August 31, 2024 at 1:02 pm #16127495

fransiskaE

Background of the issue:
I have a problem that my cart doesn't translate by itself. I can switch between Swedish and English if I change the default cart page in the WooCommerce settings but I'm unable to change language with the language picker if I'm at the cart page. The checkout page is translated like it should though so it's only the cart that is the problem.

Symptoms:
The cart page does not change language with the language picker.

Questions:
Why doesn't the cart page translate automatically with the language picker?
How can I fix the issue with the cart page translation?

August 31, 2024 at 4:42 pm #16127967

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please visit Pages>>All Pages and make sure the Cart page is translated & published in the secondary languages.

If the bug exists, please try the following troubleshooting steps after a full site backup{mandatory} and make sure the issue exists or not.

1) Go to WPML>>Support page, click on the Troubleshooting link (blue link in the middle of the page)

2) On the Troubleshooting page, please click on the following options in the *Clean up* section. Wait for confirmation of processing after each one.

- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables

--
Thanks!

Bigul