Homepage profile search form : change the words "from", "to" (in age interval)

Home Forums Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme Popular Features Member Profile Search Homepage profile search form : change the words "from", "to" (in age interval)

This topic contains 6 replies, has 4 voices, and was last updated by  Olivier 1 month ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14693

    Coralie
    Participant
    • 21 Posts
    @corvin14

    One last question/issue :

    3- I can’t find how to change the words “from” … “to” when a do a interval search criteria (like ages). It automatically wrote “from…to” how to change that ? My site is in french, so i need either to translate, or to change theses words manually but where ? I didn’t find the place to do that…

    For exemple in the homepage search form. See in attachement.

    Thank you again !

    Ps : It should be in the same place, but i also need to find to change “SUBMIT”, text button.

    #14793

    Manathan
    Keymaster
    • 415 Posts
    @themodactyl
    Themosaurus Support

    Hi @corvin14,

    Thanks for getting in touch! We’ve received your request and we’ll get you an answer shortly. 🙂

    We really thank you for your patience!

    In the meantime, feel free to check out our documentation resources for more help:

    FAQ & Support Documentation

    Kind regards,

    #14804

    Coralie
    Participant
    • 21 Posts
    @corvin14

    Ok, so i’m waiting to hear from your answer 🙂

    #14840

    wdlb
    Participant
    • 4 Posts
    @wdlb

    Hi,

    I had the same problem and no translation plugin was able to solve it. I tried loco translate, WPLM, but it didn’t work, so I had to translate the .php file.

    Here’s the path:

    public_html/wp_contents/plugins/grimlock_buddypress/templates/members/bps-form-home.php

    In that file you change the source code:

    ‘From’ on line 94

    ‘to’ on line 104

    and ‘Submit’ (if you couldnt translate it, but i could) on line 285. I left the ” around the words, I don’t know if the code would work without it, because I tried without, but even though I cleared the cache, the website shouwed the file with the ”, so I just left it like that, I’ll try to change it later.

    #14897

    Coralie
    Participant
    • 21 Posts
    @corvin14

    Oooh thanks @wdlb !

    It works !! I don’t if there are a easiest way to process, but it works like this (even for ‘submit’):D Perfect

    Have a good day

    #15028

    Olivier
    Moderator
    • 1758 Posts
    @themosaurusrex
    Themosaurus Support

    Hi @corvin14, @wdlb,

    I’ve recently addressed a very similar issue/this very issue in another topic. To read more, please click the following link:

    Cannot translate the bp home search plugin

    As I mentioned, it’s not recommended to edit the templates contained in your theme. Doing so without using any child theme or the Code Snippet plugin, you will loose your changes with any coming update.
    Furthermore, either using the bp-profile-search.pot translation file OR a good translation plugin should make this work for you. (Please see attached.)

    Cheers,

    #15030

    Olivier
    Moderator
    • 1758 Posts
    @themosaurusrex
    Themosaurus Support

    Please also note that this “Submit” string cannot be translated out-of-the-box. Thanks to the filter that we’ve added in Grimlock for BuddyPress, you should be able to do so if this plugin and your theme have been completely translated to your language, either using the POT files or your translation plugin.

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

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

The topic ‘Homepage profile search form : change the words "from", "to" (in age interval)’ is closed to new replies.