BB_LANG_DIR

The BuddyPress BB LANG DIR constant.

Value (string)

BB_PATH . 'my-languages/' 

Usage

  1. if ( defined( 'BB_LANG_DIR' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'BB_LANG_DIR' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (3)

The constant is defined in the following location(s).

/bp-forums/bbpress/bb-admin/includes/class.bb-install.php  
  1. define( 'BB_LANG_DIR', BB_PATH . 'my-languages/' ); 
/bp-forums/bbpress/bb-settings.php  
  1. define( 'BB_LANG_DIR', BBLANGDIR ); 
  1. define( 'BB_LANG_DIR', BB_PATH . 'my-languages/' ); // absolute path with trailing slash