6 years, 3 months ago
Simple task: I want to change the text of the Add Friend button. Looking at bp-friends-template.php, it’s not clear where I can tap in to filter the button link_text.
There’s no easier way than doing a whole translation?
I figured there might be something like bp_add_friend_button(‘Add a friend’);
You don’t need to do the whole translation – just the word(s) etc, that you want. It is also used in a slug so that would need to be dealt with….
Another way is linked to in the above note but ‘friend’, and variations of it, appear in lots of places so translation might be better ….
Poedit does make the task easier and you don’t lose the language ‘edits’ when buddypress is upgraded….
Good suggestion. Thanks Aces!
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service