New Landing How can we help? Themeforest Theme Support Neighborhood Missing translation post type in Ajax search result

Viewing 6 posts - 1 through 6 (of 6 total)
  • #113489
    azura_eyes
    Member
    Post count: 48

    Hi,

    There is missing translation in the Ajax search result. What is missing is the post type mentioning and also missing in the Dante theme, see here http://support.swiftideas.net/forums/topic/ajax-search-results-tiltle-translation/

    Instead of the translation there is the word PAGES when the search is existing in some page.

    I just update the theme so if you just be kind and give me the code which should be put and whereto, I will update the files on my server.

    Thanks a lot!

    #113490
    azura_eyes
    Member
    Post count: 48
    This reply has been marked as private.
    #113624
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    can you replace this current line:

    
    $search_results_ouput .= "<h6>".$post_type[$key]->labels->name."</h6>";
    

    by this one:

    
    $search_results_ouput .= "<h6>".__($post_type[$key]->labels->name, "swiftframework")."</h6>";
    

    And will need to translate Pages in the inside the theme .po file.

    -Rui

    #113777
    azura_eyes
    Member
    Post count: 48

    Perfect! The translated names are already in my po file 🙂 thanks!

    Close the ticket and maybe add to the next update.

    #113778
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Great. Will forward to the development team so they can consider this update.
    -Rui

    #113879
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Will get that changed – thanks!

    – Ed

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register