Skip Navigation

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.

This topic contains 5 replies, has 3 voices.

Last updated by Bobby 3 years, 5 months ago.

Assigned support staff: Bobby.

Author Posts
January 15, 2018 at 8:54 pm #1485267

dmitrijsH

I am trying to: Have all items translated in the cart page.

Link to a page where the issue can be seen: hidden link

I expected to see: It concerns the section "You may be interested in..." in the cart. When I switch languages using the switcher, I want to have the names of the products in this section translated.

Instead, I got: However, they stay the same although the translation exists.

cart-issue.png
January 17, 2018 at 5:23 pm #1487672

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

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

Hello,
Thank you for contacting WPML support.

1.- Could you tell me if the issue persists with a default WordPress theme like Twenty Seventeen?

2.- Please provide the debug information of the site. In this link you will find the steps to follow: https://wpml.org/faq/provide-debug-information-faster-support/

Kind regards,
Carlos

February 10, 2018 at 10:12 pm #1513885

dmitrijsH

Carlos,

Thank you for your message and sorry for very late reply.

When using Seventeen Theme, the problem persists. Please find attached a screenshot.

Kind regards,

Screen_17.png
February 12, 2018 at 8:17 pm #1515370

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hello ,

Carlos is currently away therefore i will be taking over your ticket.

How are you adding the section for cross-sells ?
-Are you using a plugin or through the theme?

Currently when adding a product on your site i am not able to generate the cross sell field.

Also for the specific item shown above in your screenshot, do you have that item translated in Russian too or is it only in Latvian?

One reason why this might be happening here is that the section is showing products from both languages instead of sticking to the viewing language.

February 12, 2018 at 8:36 pm #1515396

dmitrijsH

Hello Bobby,

The cross-sells are manually added to some products using the standard Woocommerce functionality. For example, for this product: hidden link

The items that you see on the screenshot have both RU and LV translations.

Thank you,

February 13, 2018 at 7:22 pm #1516752

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I can see the issue now, it shows only in the cart page , but once you click on the product it takes you to the correct language page for that specific product.

If possible please test this:
-Back up your site first
-Deactivate all non WPML related plugins
-Switch for a moment to a WordPress default theme like Twenty Fourteen.
-If the issue is gone, activate one by one to see with wich one there is an interaction issue

Let me know your results please as this might be caused by a 3rd party plugin

(Note: Make sure to test on an incognito page)

The topic ‘[Closed] Cross-sells are not translated when language is change in the cart’ is closed to new replies.