• Resolved Tobias

    (@tobiaseichner)


    Hello,

    first of all thank you for this nice plugin. ??

    I have one issue and one question:

    (1)
    I created a child theme template of search-results.php and translated the English content there (mainly just “%s results found.”). That’s okay.

    But when starting to type in the search box, “Continue typing” appears, which I also would like to have translated. Unfortunately, I can’t find this string.

    (2)
    Can you state how much impact this Ajax powered search takes to the server’s CPU and memory ressources? Is it also suited for sites experiencing some heavier traffic?

    Looking forward your reply.

    Kind regards
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The string is not in the template, but it’s a translatable string in the plugin. You could add the translations here in the WP.org translations here, or you can create a translation with Poedit and place it in the languages directory on your site.

    You can find instructions for the translation process here.

    As for the resource use, if you use the default WP search to power the search, each individual AJAX search takes up exactly the same amount of resources as the normal searches. The AJAX search is somewhat more expensive, as if someone types slow, they’ll trigger multiple searches instead of just one. On the other hand, loading the AJAX search template is likely faster and easier on the server than loading the full search results template.

    All in all, it’s not a disaster, but if your site is very heavily used and the search is very prominent, you’ll either need good caching that can handle the AJAX requests, or a search that runs outside your own server.

    Thread Starter Tobias

    (@tobiaseichner)

    Thanks for your quick response. ??

    (1)
    I added some translations to the stable release of the plugin, hope that helps and it was done correctly (I’m new to the WordPress translation system).

    Not sure what’s the next steps here, seems that translations must be verified by other users first before being activated.

    (2)
    I’m using the free version of Relevanssi yet. Has Relvanssi a different impact than the built-in WP search?

    You mention that caching helps… I’m using “WP Super Cache”, but don’t think that it caches searches, does?

    Plugin Author Mikko Saari

    (@msaari)

    Yes, the translations need editor approval next. Don’t worry about that, I’ll get that sorted out – I’m using a professional plugin translation service to translate Relevanssi to a couple of languages, I’ll get them to do some translations for Live Ajax Search as well and they can approve your translations.

    If you use Relevanssi, you’ll have the impact of Relevanssi – it’s different than the impact from the built-in WP search, but how, that’s a harder question. In some situations, Relevanssi is heavier than the default WP search, but with bigger sites, it’s likely lighter than the WP search, which gets really terrible when your site gets big.

    How big are we talking about here? How many posts are in the Relevanssi index, how much daily search traffic do you get?

    Thread Starter Tobias

    (@tobiaseichner)

    There are currently five sites, each with about one hundred posts, all hosted on a dedicated server. Search feature of the site is rarely used (about ten a day per site), as I just found out yesterday.

    So I guess it will be no problem. ??

    Thanks again for your quick support!

    Plugin Author Mikko Saari

    (@msaari)

    Yes, no problem whatsoever. Those are very small sites when it comes to Relevanssi searches.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Translation’ is closed to new replies.