This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Results bar not showing the translated results with Gtranslate

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Results bar not showing the translated results with Gtranslate

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #55976
    andreivoicu_jajXandreivoicu_jajX
    Participant

    Hi again Ernest,

    I changed my translating script to Gtranslate and everything works good but not the search bar results which are not being translated. Everything else is translated into romanian but not the results of the search bar, they are still shown in english.
    The people from Gtranslate said that we need to change the content type of the https://thebusinessratings.com/ro/wp-admin/admin-ajax.php to text/JSON from text/HTML so we can translate the HTML content coming from it.
    Is this possible or do you recommend a different approach?

    Thanks a lot.

    #55978
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #55979
    andreivoicu_jajXandreivoicu_jajX
    Participant

    Hey,

    I copied your version of ajax search pro and I get this error: Please look up “The response data is missing” from the documentation.

    Regards.

    #55981
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Your page cache is still uncleared, if you visit the page with a query string it will disappear. Make sure to clear the cache.

    It is still very possible that GTranslate will not work if it’s unable to detect and translate the content within the JSON data. As I have said they have no API and no support to access translations in any way unfortunately.

    #55982
    Ernest MarcinkoErnest Marcinko
    Keymaster

    If you want I can take a closer look to see if there are any possibilities, but please add both temporary back-end and FTP details so I can make code edits.

    I can’t promise anything though, GTranslate is fully automated and we can’t affect much what it translates automatically.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.