Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

This topic contains 9 replies, has 2 voices.

Last updated by Bobby 1 year, 6 months ago.

Assisted by: Bobby.

Author Posts
February 27, 2024 at 8:05 pm #15351237

kazimierasK

We are facing a strange wordpress/woocommerce/wpml behavior:
We have two language configuration (English and Lithuanian, English as default) and in the product attributes we wanna have same amount of attributes for each language, meaning all attributes translated in both languages.
But it seems almost impossible to achieve, because extra attributes in Lithuanian language appears in English language with unique generated names. If we delete those and assign English ones to products - after some time the issue reappears!
Also - some counters in the right column are also lying - if we click on 'juoda-2' counter which says '0' items assigned - on the following page list we see one product assigned. So, again, very strange behavior.

Next, on the product edit page (most of our products are variable products) attributes are also randomly changing. Initially, then we launched the shop, everything was OK, but now some products in English have Lithuanian attributes assigned.

Don't know if this is releated issue, but the site URL sometimes also shows taxonomy in mixed languages, in example: hidden link

where "rubai/sukneles/storo-trikotazo-sukneles" part shoud be in enhlish too..

Link to a page where the issue can be seen:
staging.dresslemuse.com

I expected to see:
All woocommerce taxonomy fixed - equal amounts of attributes translated in both langauges. We can fix that manually once again. That's not the big issue. The big issue is making sure it won't happen again. So we want to understand the reasons behind this.

wpml03.jpg
wpml02.jpg
wpml01.jpg
February 28, 2024 at 1:06 am #15351698

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi,

If I understand correctly you are having trouble with extra randomly generated attributes?

Are these attributes generated without your input?

What are your results after running the WCML troubleshooting actions? Does it help.

https://wpml.org/documentation/support/wpml-troubleshooting-options/#troubleshooting-woocommerce-multilingual-and-multicurrency

February 29, 2024 at 6:54 am #15356368

kazimierasK

Hi Bobby,
If I understand correctly you are having trouble with extra randomly generated attributes?
yes, randomly generated attributes + mixed language URL (we think that it is related)

Are these attributes generated without your input?
yes, without our input

What are your results after running the WCML troubleshooting actions?
I've tried to run 'Clear invalid strings' command as it seems closest to our issue: 'strings that are duplicated or assigned to the wrong language', but it found 0 invalid strings. Other commands seems unreleated.

Also tried to sync duplicate terms (product color attribute in particular) It synced terms from EN to LT language but it also synced all wrong terms too, meaning those with '-2' ending in slug name.

We want to avoid fixing all terms manually because we don't know what causes duplicates to appear. Maybe a cache is taking part in this? We use redis object cache, cloudflare cache and lightspeed cache (but lightspeed cache is OFF for logged in users).

March 1, 2024 at 7:31 am #15361084

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

March 5, 2024 at 7:43 am #15372795

kazimierasK

[removed]

March 5, 2024 at 9:18 pm #15376574

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Please share the access details in the private field reply box as this is a public access forum and sharing them publicly can put your site's security at risk.

You are welcome to add na/na for FTP, FTP is great when we need to manually activate/deactivate the WPML plugin or to retrieve a debug log, however, it is not needed at the moment and you can add na/na to skip it.

Private reply enabled.

March 6, 2024 at 6:12 pm #15381211

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Thank you for the access details!

Please review them and verify that they are correct as I am not able to login using the provided password.

March 8, 2024 at 7:53 pm #15390636

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Thank you for the access details!

Please go to plugins and update the following:

1. WooCommerce
2. WooCommerce Multilingual & Multicurrency

once they are updated to their latest versions

go to WooCommerce >> WooCommerce Multilingual > Attributes tab and select an attribute then press the "Synchronize attributes and update product variations" button

This automatically generates variations for translated products corresponding to recently translated attributes.

Let me know your results once done, please.

Screen Shot 2024-03-08 at 11.53.11 AM.png
March 12, 2024 at 6:26 pm #15401096

kazimierasK

Hi Bobby,

We've updated the woocommerce and wc multilingual plugins and tried to sync product color atribute as you mentioned. Upon doing so, I went to Products > attributes list and near color attribute in the list I click Configure terms and inspecting the list I noticed that each language now has the same amount of colors assigned which looks good, but upon careful inspection I've noticed that the problem is still there (screenshots attached) there are Lithuanian attribute in English list and says it has 0 products assigned, but if I click on that 0, it opens a list with two products which actually has that Lithuanian color atribute assigned, not the English one. You can inspect yourself.

Any more ideas?

Screenshot 2024-03-12 202026.jpg
Screenshot 2024-03-12 202105.jpg
March 14, 2024 at 5:48 pm #15411823

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Thank you for updating me!

Is this issue so far affecting only the color attributes? What about the rest of the attributes.

In the front end and backend of the products (edit page)are the attributes showing ok, and is this issue only affecting the counter?

Which plugin are you using for the swatches (colors)

Also, please verify our access is still valid as I am not able to login to the backend to further review.

The topic ‘[Closed] multiple woocommerce taxonomy translation issues’ is closed to new replies.