Alberto Saavedra
asked 11 years ago

Hi there!
I followed you step-by-step integration and works for me!! 
But i need to translate “Question” tag in user´s profile to spanish, could you help me?
Thank you!

2 Answers
DominicStaff
answered 11 years ago

You can send me your site for further checking.

DominicStaff
answered 11 years ago

To resolve this issue, you can open the bp-custom.php file in the folder path “wp-content\themes\Your-theme\buddypress”. Find the following code:

 /*-----------------------------------------------------------------------------------*/
  /*  Setup Questions in BuddyPress User Profile
  /*-----------------------------------------------------------------------------------*/
  add_action( 'bp_setup_nav', 'dw_simplex_bp_nav_adder' );
  function dw_simplex_bp_nav_adder() {
     bp_core_new_nav_item(
      array(
        'name' => __('Questions', 'dw-simplex'),
        'slug' => 'questions',
        'position' => 21,
        'show_for_displayed_user' => true,
        'screen_function' => 'questions_list',
        'item_css_id' => 'questions',
        'default_subnav_slug' => 'public'
      ));
  }

You can change the “Questions” tag in the following code:

 'name' => __('Questions', 'dw-simplex'),
 'slug' => 'questions',

Hope this helps !

Powered by DW Question & Answer Pro