Skip to:
Content
Pages
Categories
Search
Top
Bottom

What is the best way to change “Friends” to “Contacts” sitewide..?

  • @amitrwt

    Participant

    I would like to change “Friends” to “Contacts”or”Connections” sitewide. What would be the best approach to do it..? I’ll more than comfortable to make changes to any file as long as its long lasting.

Viewing 17 replies - 1 through 17 (of 17 total)
  • @louisemiller

    Participant

    hmmm, nice question, I am also interested in such changes

    @amitrwt

    Participant

    Will update if I find a work around.

    @aaronthomas1979

    Participant

    If you haven’t already, create a child theme.

    Then copy your buddypress/template folder & subfolders over to your child theme.

    Go through each file, search for instances of the word “FRIENDS,” and replace it with “CONNECTIONS.”

    Or, you can pay a developer thousands of dollars to make a plugin do it for you 🙂

    @aaronthomas1979

    Participant

    If you haven’t already, create a child theme.

    Then copy your buddypress/template folder & subfolders over to your child theme.

    Go through each file, search for instances of the word “FRIENDS,” and replace it with “CONNECTIONS.”

    If you can’t find all instances of the word “FRIENDS” in these files, check your buddypress.po file and use Poedit to hack it out of there too.

    @dopeboy

    Participant

    @aaronthomas1979 have you or anyone given that method a try? Why not use localhost and try it out?

    @prashantvatsh

    Participant

    Hi,

    Please check this plugin https://wordpress.org/plugins/loco-translate/

    Using this plugin just go to it’s plugins menu and open BuddyPress there and then in your prefered language file find the word and replace it with your text.

    Hopefully, it will help you.

    Thanks

    @dopeboy

    Participant

    @prashantvatsh i almost want to tell you that you are stupid but i wont be rude to you. That link you posted there is very far from what we are looking for.

    @prashantvatsh

    Participant

    Have you tried creating language files and then tried translating texts? I have used it in so many client projects so I guess you were not able to change friends to connections 🙂 If you are not then please let me know I will explain how to do that.

    Thanks

    @prashantvatsh

    Participant

    And to change the URL from ‘friends’ to ‘connections’ just write this in bp-custom.php file define ( 'BP_FRIENDS_SLUG', 'connections' );

    @dopeboy

    Participant

    If that plugin can really do that then it is not user-friendly, it’s as if the developers just did it in a way only him can easily use it.

    I was not able to change friends to connections.

    @prashantvatsh

    Participant

    Let me show you the way to do it and maybe you are missing one important stuff and that is the theme translation. Please check the video I made for you to explain the working: https://screencast-o-matic.com/watch/cF6O0lY5iP

    @dopeboy

    Participant

    so one has to change eveything one by one? What of those source texts that have something in their context text already?

    @dopeboy

    Participant

    define ( ‘BP_FRIENDS_SLUG’, ‘connections’ );

    this didn’t work

    also the Loco Plugin didn’t work, everything is still friends.

    @dopeboy

    Participant

    Also, the plugin stated clearly that changes will vanish upon WP update. It’s not the right tool for the solution.

    @evillizard

    Participant

    @dope-boy you are really rude for the “stupid” statment to @prashantvatsh

    what @prashantvatsh gave you is the best solution to what you are actually looking for

    ..
    the only way to change buddypress labels like on the menu (“friend, profile, notification ” ) .. the best way is my changing the language to your choice
    ..


    @prashantvatsh
    was just trying to help

    @dopeboy

    Participant

    I don’t expect you to understand @evillizard you were no in my shoes then. If you were then I will try to reason along with you judgement.

    And it didn’t work, even till now. Please get some understanding, stop trying to piss me off the more.

    @dopeboy

    Participant

    …and that the word “stupid” appeared in my statement doesn’t mean I think he’s stupid. I think I was clear enough.

    …but I won’t be rude to you

    Did you know what that means? I was really pissed at that time that it didn’t work. But I couldn’t just be pissed to the one guy that tried to salvage the situation. I was pissed, but heck, I couldn’t get pissed at him. Are u that dumb Mr @evillizard? 😉 😉 that I discussed my discomfort doesn’t mean I wanna show it.

    What kind of lizard are you? Hope u’r not Godzilla. I hope u don’t think I’m being rude to u also.

Viewing 17 replies - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.
Skip to toolbar