French language search not working
-
here is a screen capture of the search function not working: https://snipboard.io/aWboBx.jpg
`Our French the search function is not working on our site (sweeperpartssales.com), we spent months trying to figure out who the culprit was, thinking it was Beaver Builder then the RFQ plugin we implemented. Finally the translation plugin vendor Google Translate found a clue and it points at woo commerce.
CLUE: “When I check your HTML source code I see “ajax-search-for-woocommerce” and “fl-search”, maybe this will give you a hint”
This is also from Google Translate: your search plugin developer needs to add a little change to their plugin to make it compatible with GTranslate.
They need to detect if the search happens on the French version and if that is the case use Google Translate API to translate the keyword into English, do the search with the new English keyword and show the results as before. If the plugin developer has any issues with it, they can contact us directly for additional details.
SOLUTION: Your search plugin vendor can literally write 3 lines of code to translate keyword from French to English before doing the database lookup.
They have made their plugin compatible with WPML, they can make it compatible with GTranslate, I do not see any issues there As explained earlier the logic is following:
1. Before doing the search detect current selected language
2. If not English then translate search keyword from selected language to English using Google Translate API or any other API
3. Continue the search as before and respond as before
WE HAVE BEEM=N TRYING TO GET A RESOLUTION ON THIS ISSUE FOR 3 MONTHS NOW
WE are at our wits end, you need to fix this please.
Thanks
GabrielThe page I need help with: [log in to see the link]
- The topic ‘French language search not working’ is closed to new replies.