Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Weglot comptability
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 4 years, 9 months ago.
- AuthorPosts
- February 12, 2019 at 11:58 pm #21087
Hi,
I’m using you ajax search pro plugin on my site along with WeGlot for multilanguage. In the default language (FRENCH) the search field is returning data allright. But when I select another language (ENGLISH), I get a warning popup: The response data is missing from the ajax request.
I try to Use the custom ajax handler but still have the error. Any idea?
February 13, 2019 at 11:32 am #21092Hi,
Thank you for the details! However I could not find the language switcher button/link, I’m not sure where it is. Can you please link me to the french and english home pages, I will try it out.
Please note, that currently only WPML and Polylang are supported, so there is a chance that it might not work as expected. This issue sounds like a permalink thing, perhaps the ajax handler URL is somehow changed, where it shouldn’t be, I am not sure yet.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 13, 2019 at 5:03 pm #21107You cannot access this content.February 14, 2019 at 2:34 pm #21116Hi,
Thank you!
Okay, the problem is, that the plugin is actually returning a response, but something is changing the output of the HTML code, that the plugin ajax handler returns. The starting response delimiter is changed from
!!ASPSTART_HTML!!
to!! ASPSTART_HTML!
on the english version (adding a space, and removing a ! sign from the end). On the french version page it looks fine.I have not seen anything like this before, but I am guessing that the translation plugin is somehow tempering with the ajax responses, and makes some sort of relacements. If there is a translation configuration, or some sort of a manual translation section, make sure to check if there isn’t any rule that changes
Best,!!ASPSTART_HTML!!
to!! ASPSTART_HTML!
, because that is causing the problem.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.