Ajax response data in different language
-
Hi,
We’ve started using “Translate WordPress with GTranslate” in our shops, but i’ve noticed that the data received from an AJAX response is in a different language. For example, we’re using the Flatsome theme, I open the shop page and set the language to English from the language switcher (default is German). Everything gets translated on the shop page which is fine, but when i scroll down to load more products through the infinite scrolling option set through Flatsome, the products that are loaded on the shop page are in German, not in English. We also have another custom AJAX functionality set up for our blog posts with a load more button and there we get the same issue.Unfortunately, I couldn’t find a specific solution to this. The closest i found was this https://gtranslate.io/forum/ajax-filter-resets-language-t4636.html, but it’s not very clear to me what exactly needs to be done. Would really appreaciate any further elaboration on this or any other tested solutions or ideas.
- The topic ‘Ajax response data in different language’ is closed to new replies.