Cannot change label BLOGS to SITES

I am looking for a solution using Ritchie’s old posts here

I want to change the label BLOGS to SITES

I placed this piece of code from buddypress header.php in bp-custom.php in plugins folder.

<li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) ) : ?> class=”selected”<?php endif; ?>><“<?php echo get_option(‘home’:wink: ?>/<?php echo BP_HOME_BLOG_SLUG ?>” title=”<?php _e( ‘Blog’, ‘buddypress’ ) ?>”><?php _e(‘Sites’, ‘buddypress’ ) ?><>

This gives an error. The error is not due to the above syntax because if I even place the entire header.php code (without altering anything) in the bp-custom.php I still get an error.

BuddyPress Daily Child 3.9.6

BuddyPress 1.2.7

Bottom line, how do I get this going?