I try to change the text in the email from "{{username}} accepted your friend request." to "{{username}} accepted your invitation."
I tried via .po file transaltion like below in "wp-content/languages/plugins/buddypress-en_US.po" file.
#. translators: do not remove {} brackets or translate its contents.
#: bp-core/bp-core-functions.php:3197
msgid ""
"<a href=\"{{{friendship.url}}}\">{{friend.name}}</a> accepted your friend "
"request."
msgstr "<a href=\"{{{friendship.url}}}\">{{friend.name}}</a> accepted your invitation."
But I couldn't get the proper result (email with changed text), could anyone tell any other way to do this, even via by any hook or filter, it will be very helpful for me.
In BuddyPress 2.5+ all emails that are sent can be edited in wp-admin area. Check the screenshot below. Just go to that email and change its subject and content as you wish.