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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
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)

Tagged: 

This topic contains 5 replies, has 1 voice.

Last updated by Bobby 1 week, 5 days ago.

Assisted by: Bobby.

Author Posts
March 18, 2025 at 5:13 pm #16831828

platinumC

Background of the issue:
I am trying to use the search functionality on my WordPress site, hidden link, which uses WPML. I am specifically working with the Arabic section of the site at hidden link.

Symptoms:
When I write in English in the search bar on the Arabic section of the site, it does not return English search results.

Questions:
Why does the search in the Arabic section not return English results when I search in English?

March 18, 2025 at 10:44 pm #16832802

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

One of my colleagues will handle your ticket. In the meantime, I would like to share some helpful information.

This behavior is expected because the content is organized by language. You won't also see Arabic results on the English version of the site. This cannot be changed in the WPML settings, and it requires the custom coding for your current theme if the search is part of it.

March 19, 2025 at 5:40 am #16833213

platinumC

in english if i write arabic the result is arabic and in arabic if i write english the result is also arabic .. plz check

March 19, 2025 at 9:40 pm #16837307

Bobby
Supporter

Languages: English (English )

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

Hello,

I just did a quick search and it worked as expected.

Please see my screenshots.

Screenshot 2025-03-19 at 2.39.29 PM.png
Screenshot 2025-03-19 at 2.39.13 PM.png
March 25, 2025 at 1:17 pm #16857859

platinumC

i mean if im in arabic ... if i write english the search do not work

March 26, 2025 at 6:54 pm #16865115

Bobby
Supporter

Languages: English (English )

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

Hi there,

This behavior is expected, as the search is being conducted within the Arabic content rather than the English content.

It would be the same behavior as if the products have not been translated or are displayed using the "display as translated" method (which does not correspond to an actual database ID), no results will be returned.