Title: WPML compatibility
Last modified: April 29, 2021

---

# WPML compatibility

 *  [allanext](https://wordpress.org/support/users/allanext/)
 * (@allanext)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wpml-compatibility-226/)
 * Hi,
 * I’ve integrated Relevanssi with SearchWP Live Ajax and it’s working great. The
   issue came up activating WPML plugins to internationalize the site.
 * The $query->query_vars is emptied out and the search will just return the whole
   data set.
 * I’ve noticed this on the `class-relevanssi-bridge.php` file by printing:
 *     ```
       static function alter_results() {
       	global $wp_query;
       	var_dump($wp_query->query_vars);
       	relevanssi_do_query( $wp_query );
       }
       ```
   
 * That returns an empty array. I disable the WPML plugins and it works.
 * Has anybody seen this or found a workaround? is there any intention to make the
   plugin compatible with WPML ?
 * Thank you !

The topic ‘WPML compatibility’ is closed to new replies.

 * ![](https://ps.w.org/searchwp-live-ajax-search/assets/icon-256x256.png?rev=3119393)
 * [SearchWP Live Ajax Search](https://wordpress.org/plugins/searchwp-live-ajax-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/searchwp-live-ajax-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/searchwp-live-ajax-search/)
 * [Active Topics](https://wordpress.org/support/plugin/searchwp-live-ajax-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/searchwp-live-ajax-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/searchwp-live-ajax-search/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [allanext](https://wordpress.org/support/users/allanext/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/wpml-compatibility-226/)
 * Status: not resolved