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 15 replies, has 1 voice.

Last updated by Bobby 2 weeks, 3 days ago.

Assisted by: Bobby.

Author Posts
September 9, 2025 at 8:31 pm #17388819

Omar Zain

Background of the issue:
I’m facing a problem with product language filtering on my site: hidden link. When I switch the WordPress admin to Arabic and open the Products list, I still see the English versions of products mixed in. The same issue occurs on the frontend shop page — Arabic shop shows both Arabic and English products. I have tried enabling 'Language filtering for AJAX operations', checked WPML settings, tested with Elementor and WooCommerce elements, and cleared caches.

Symptoms:
Both Arabic and English products show together when filtering for Arabic products in both the backend and frontend. In the REST API (/wp-json/wc/store/v1/products?lang=ar), I also see English and Arabic products together.

Questions:
Why do both Arabic and English products appear together when filtering for Arabic products?
How can I ensure that the backend Arabic filter shows only Arabic products?
How can I ensure that the frontend Arabic shop (?lang=ar) shows only Arabic products?

September 10, 2025 at 12:04 am #17388960

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi there,

It looks like the content is mixed up.

For example I can see the following product assigned to English yet it's an Arabic language product.

hidden link

1. Was the website recently migrated?

2. Were the products imported into the website using WP All Import or similar method?

September 11, 2025 at 9:30 am #17393361

Omar Zain

hello,
about your questions
the website was not migrated and the products were not imported, and actually everything was working fine..

you haven't replied on what I said that the shop page is displaying products (that are uploaded correctly) from both languages, however, here's some screenshot where I added a new product in Arabic (default), published it, and then added the English translation, and you can still see them together in the backend and frontend, is that normal?

September 11, 2025 at 9:33 am #17393379

Omar Zain

these are the images

IMG-20250911-WA0006.jpg
IMG-20250911-WA0005.jpg
IMG-20250911-WA0004.jpg
IMG-20250911-WA0003.jpg
IMG-20250911-WA0002.jpg
IMG-20250911-WA0001.jpg
September 12, 2025 at 7:56 am #17396460

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Thank you for updating me! That is not normal, the behavior you are experiencing here is indicating a database corruption.

First please try this step:

1. Go to WPML->Support->Troubleshooting
2. Run the actions

Clear WPML Cache
Remove ghost entries
assign translation status to duplicated content
set language information.

Let me know your results, please.

September 12, 2025 at 6:13 pm #17398551

Omar Zain

Tried all, nothing changed unfortunately.

if you can take a close look maybe you'll find something

To login:
[removed]

September 13, 2025 at 7:51 pm #17399516

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Please share the access details within the private field box as this is a public forum thread and to also be in compliance with GDPR laws.

I have enabled it for your next reply.

Also, is it possible to sahre with us a sandbox/staging environment? It would be good if we could deactivate certain plugins without affecting the live shop.

If that's not possible, do we have your permission to create a copy of the site on a staging environment.

September 17, 2025 at 8:33 am #17408487

mohabM-4

[removed]

September 18, 2025 at 9:17 am #17412466

Omar Zain

Hello,

This is the third time I’ve tried to provide access details, but they keep getting removed, which is wasting valuable time. I kindly request that this ticket be transferred to another supporter to move things forward.

Here are the staging site credentials again:
[removed for security reasons]

Thank you for your assistance, and I hope this can be resolved without further delays.

September 18, 2025 at 5:39 pm #17414385

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi there,

It looks like my last reply did not come through. I have received the original access details and was able to take a closer look.

There is an overall mix up of languages in the products.

For example this product:
Diamond Graphics Wood tablet DIY art set 25x30CM

hidden link

This product is under the Arabic language, but it's written in English.

It's a translation of a product in English.

---> that's incorrect, because since the site has Arabic as the default language it should always translate from Arabic into English.

Further, the English product is written in Arabic.

This is what I believe happened.

Products were added in Arabic under the English side of things (most likely somebody in your team was using the site in English in the bakcend and added a product. When they added the product they added it in Arabic and then proceeded to translate into English)

This looks like a manual mix up rather than a behavior caused by WPML.

You can resolve it by manually adjusting the languages these products are assigned to.

Here is a loom showcasing how to do this:
hidden link

Let me know your results, please.

September 19, 2025 at 5:56 am #17415322

mohabM-4

Hello,

Thanks for your explanation. I understand your point about older products possibly being mixed up. However, I want to stress that the same problem happens even with new products created correctly, so I'm not sure if the problem was from my coworker

Like I told you before, I created a new test product directly in Arabic (with the site and backend set to Arabic), then added an English translation. Still, the product appears in both the Arabic and English versions of the shop.

This suggests that the issue is not only about past manual mix-ups, but something that is still happening now with new products. Could you please review this scenario carefully and confirm if there might be another cause

You can create a test product and confirm what I say

best
Mohab - team manager

September 19, 2025 at 11:09 am #17416524

serhiiY-4

Hello! I ran into the same issue on my site. It happened a few days/weeks ago. Originally, all my content was created in English as the default language. Later, I switched the default language to another one, and everything worked fine.

However, when I visited the site recently, the same problem appeared.

September 19, 2025 at 5:46 pm #17417607

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Thank you Mohab,

That is very important information -- I am further investigating and will update you as soon as there is feedback.

September 19, 2025 at 5:49 pm #17417608

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hi serhiiY-4,

if you are experiencing a similar issue, please keep an eye on this thread but I also highly suggest opening a new thread and mentioning this one as a reference.

This will help resolve your issue in case it is slightly different and if it is similar we can track them together.

September 22, 2025 at 5:30 pm #17423128

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Just an update that we are still working on this and will update you here as soon as there is news.

The topic ‘[Closed] I’m facing a problem with product language filtering in my site’ is closed to new replies.