This thread is resolved. Here is a description of the problem and solution.
Problem:
You are developing a site using the Elementor Search Pro Widget and want the search results to be displayed in the language set by the 'wp-wpml_current_language' cookie. However, any query redirects to the English search result page, even if the query is in another language like French.
Solution:
We recommend enabling the "Language filtering for AJAX operations" in WPML -> Languages. This setting allows the storage of a language cookie to support language filtering for AJAX operations. For more detailed guidance, please visit Enabling Language Cookie to Support AJAX Filtering.
Additionally client added that
...the Elementor Pro Search Widget is not compatible with WPML at the moment. For the filters and AJAX reload, I had to find an solution to circumvent the bug. In this case, I will move to another solution. The simple WP Search for now, and eventually a plugin WPML says is compatible, such as Relevanssi or the more simple Jetsearch.
If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket for further assistance at WPML Support Forum.
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 3 replies, has 0 voices.
Last updated by 5 days ago.
Assisted by: Waqas Bin Hasan.