Any ideas? This is a major point of confusion for my members.
Hey Jeff, my concern is the same did you find a solution? I need to change the name of friends and groups and notifications
Hey Jeff I see you successfully changed the name of groups is it possible you can help me out as well achive the same thing as you. I am trying to change the names of groups, and friends
@jaynm26 I still haven’t been able to change the Groups label on the profile page. I’ve used the .po file to change it just about everywhere else on the site, but this one place seems to be hard coded. I don’t know why the BuddyPress developers haven’t piped in on this.
Try this in bp-custom.php or your theme functions.php:
function jeff_change_buddypress_profile_tabs( $translated, $original_text, $domain ) {
if ( 'buddypress' !== $domain ) {
return $translated;
}
switch ( $original_text ) {
case 'Groups <span>%d</span>':
return 'Bongos <span>%d</span>';
case 'Groups':
return 'Bongos';
default:
return $translated;
}
}
add_filter( 'gettext', 'jeff_change_buddypress_profile_tabs', 10, 3 );
@shanebp thanks for the tip, I tried it in both places and it still says Groups.
I just figured out how to do this the other day and wrote a blog post about it:
Using BuddyPress Language Files to Customize Headers and Messages
I hope that helps!