problem with multi lingual searches

Home Forums Product Support Forums Ajax Search Pro for WordPress Support problem with multi lingual searches

This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #37491
    peterharg
    peterharg
    Participant

    can i ask you a question about the functionality of the ajaxsearchpro plugin?

    we are have some difficulties on our website that has a translated version.

    the problem is this:

    for example, please visit this page: https://cryptosecret.be/forums/

    if you use the searchbar and search for ‘evergrow’ you will see that the dropdown will show this coin, and it will direct us to this url: https://cryptosecret.be/forums/evergrow-coin/

    so far so good..

    but what happens when a visitor is on the french translated version of that page? to go to the french version, click here: https://cryptosecret.be/fr/forums/

    as you can see, there is a difference in the url;

    dutch language on : https://cryptosecret.be/forums/
    french language on: https://cryptosecret.be/fr/forums/

    now if you go to the french forum page: https://cryptosecret.be/fr/forums/
    and you search for the evergrow again, you will see that the found link will point to https://cryptosecret.be/forums/evergrow-coin/
    while it should point to : https://cryptosecret.be/fr/forums/evergrow-coin/

    we asked Gtranslate.io if this was something that they could fix (we use their translation tool), but they asked us to ask the developer of the searchbar..

    I’m hoping this could be fixed with a simple setting of modification or something.. This would make our lives much better, so we do not have to copy every site, when we want to open up in a different country.

    #37501
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Currently the plugin officially supports WPML and Polylang translator plugins. I am not familiar unfortunately with this one. Do they have any programming API I can take a quick look at?

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #37505
    peterharg
    peterharg
    Participant

    i could ask them.. but the simple way ( to me..) is that the search engine looks to what url the user is on, and sticks to that url to search..

    the reason why we use gtranslate is because the can ‘host’ all languages. so we only change dns server for cryptosecret.fr ( example) and the translation is directly done via their system. this way, we only have to work on the .be website..

    i hope you understand my explanation… if not, ill try to ask them for an api connection

    #37506
    peterharg
    peterharg
    Participant

    just received an answer from them.. they do not have an api.

    “We do not provide API. GTranslate uses Google’s API to provide translations.”

    so , now the question is; can we work with this, or do we need to translate the french language on our .be site by hand via polylang or wpml

    #37517
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Well, without any information I can’t really do much.

    It seems to me. I was only interested on how the translations actually worked. From the site front-end it looks like it is some sort of an on-the-fly translation based on the URL, using a cache or something similar.

    I was hoping they have an application hook (possibly a filter or a function call), which could be applied to the ajax call, with the language variable to transform the results, but I guess it is not possible.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.