Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1307355
    Gnomo Bàgnolo
    Participant

    How can I translate in italian language the “Search Results” header?

    Search Results
    Below you’ll see everything we could locate for your search of “babbo natale”

    Thank You

    Daniele

    #1307388
    Nabeel A
    Moderator

    Hi Daniele,

    Thanks for writing in! Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    jQuery(document).ready(function($){
    	var searchFor = window.location.search.split('=')[1];
    	$('.search-results .h-landmark span').html('Risultato della ricerca');
    	$('.search-results .p-landmark-sub span').html('Di seguito è possibile vedere tutto quello che potevamo trovare per la ricerca di "' + searchFor + '"');
    });

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1308249
    Gnomo Bàgnolo
    Participant

    Works Perfect! Thanks

    How can I also translate other phrases that occasionally appear in English?

    for example:

    Search page:
    TYPE AND PRESS “ENTER” TO SEARCH

    Category Archive
    Below you’ll find a list of all posts that have been categorized as “…”

    Tag Archive
    Below you’ll find a list of all posts that have been tagged as “…”

    Post Archive by Month
    Below you’ll find a list of all posts from …

    etc…

    Thank You

    #1308257
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! To properly translate X and Cornerstone please check out our knowledge base for detailed information. You can check it out here: https://community.theme.co/kb/translation/

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1307355 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>