[Jetpack Search + WPML] - Search shows results from both languages #32811
Labels
[Feature] Search
For all things related to Search
[Focus] Compatibility
Ensuring our products play well with third-parties
[Package] Search
Contains core Search functionality for Jetpack and Search plugins
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Plugin] Search
A plugin to add an instant search modal to your site to help visitors find content faster.
[Pri] Normal
[Type] Bug
When a feature is broken and / or not performing as intended
[Type] Duplicate
Impacted plugin
Search
Quick summary
Hi there, this is Diego from the WPML Compatibility team.
When doing a Jetpack Search on a site with WPML, it will show results for all languages instead of just results in the current language.
We got a report in support for this issue here.
We checked to see if there is anything we could do on the WPML side, but It seems that the content is indexed on the WordPress servers.
When we search on the site, direct REST requests are made to the WordPress server. To fix this, we would need to have different indexes per language or manage to include a language parameter to the search.
Steps to reproduce
A clear and concise description of what you expected to happen.
Show results for current language only.
What actually happened
Search results for all languages are displayed instead of just results for the current language.
Impact
Some (< 50%)
Available workarounds?
No
Platform (Simple and/or Atomic)
Self-hosted
Logs or notes
No response
The text was updated successfully, but these errors were encountered: