Translating BuddyPress strings [Activity, Notification, Messages, Friends]

This tip helps in translating BuddyPress strings such as Activity, notices, messages, friends and many similar strings located in the WPLMS setup.

Follow below video tip :

Note : Please install the Codestyling Localisation preserver plugin as well and it will automatically copy the translation files from buddypress/bp-languages folder to wp-content/plugins/languages  and all your translations would be safe.

Alternate Way : if nothing works.

Credits to user :  Seramor

// Setup the navigation
// Props to http://wordpress.stackexchange.com/questions/16223/add-buddypress-profile-menu-item for helping me figure this out
// http://themekraft.com/customize-profile-and-group-menus-in-buddypress/
add_action( ‘bp_setup_nav’, ‘ktv_setup_nav’, 1000 );
function ktv_setup_nav() {
global $bp;

// Remove a menu item
//$bp->bp_nav[‘activity’] = false;

// Change name of menu items
$bp->bp_nav[‘profile’][‘name’] = ‘Mi profile menu name’;
$bp->bp_nav[‘settings’][‘name’] = ‘My Configuration name’;
$bp->bp_nav[‘course’][‘name’] = ‘My courses name’;

// Change name of submenu items
$bp->bp_options_nav[‘profile’][‘public’][‘name’] = ‘My show name’;
$bp->bp_options_nav[‘profile’][‘change-avatar’][‘name’] = ‘My change profile photo name’;
$bp->bp_options_nav[‘profile’][‘edit’][‘name’] = ‘My edit name’;
//$bp->bp_options_nav[‘settings’][‘profile’][‘name’] = ‘My visibility name’;

}
/* *** */