• Hi, i want to ask, if the plugin will be translate in future more languages?

    i contact the support of my translate tool and they let me know the follow:

    _______________________________________________________________________________

    Can you please contact your ajax-search-lite developers and ask them to modify the response header and structure of this AJAX request?

    Current structure is:

    ___ASLSTART___<div class=’item asl_r_pagepost asl_r_pagepost_26862 asl_r_post’><div class=’asl_content’><img’ ‘><h3>'<span class=’overlap'</a></h3>

    <div class=’etc’></div>

    <p class=”asl_desc”></p></div><div class=’clear’></div>

    </div><div class=’item asl_r_pagepost asl_r_pagepost_26607 asl_r_post’>

    And change the response header to application/JSON it will be translated.

    ____________________________________________________________________________

    If you let me know in wish files is the change, i can do by myself

    thanks

    • This topic was modified 1 year, 1 month ago by spielo.
    • This topic was modified 1 year, 1 month ago by spielo.
Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    I’m afraid we can’t change the response to JSON, as it has to be a text/html type to work correctly.

    I would suggest a change if this was simple, but converting the reponse to JSON is very complicated and requires a lot of change in many of the core plugin files.

    You can however translate everything on the server side using the asl_results hook. That is triggered to the results object, and all fields can be freely modified.

    All the best,
    Ernest

Viewing 1 replies (of 1 total)
  • The topic ‘Translate to different language’ is closed to new replies.