Ticket #4190: mofile_local.patch
File mofile_local.patch, 608 bytes (added by , 12 years ago) |
---|
-
bp-core-functions.php
688 688 $locale = apply_filters( 'buddypress_locale', get_locale() ); 689 689 $mofile = sprintf( 'buddypress-%s.mo', $locale ); 690 690 $mofile_global = WP_LANG_DIR . '/' . $mofile; 691 $mofile_local = BP_PLUGIN_DIR . ' /bp-languages/' . $mofile;691 $mofile_local = BP_PLUGIN_DIR . 'bp-languages/' . $mofile; 692 692 693 693 if ( file_exists( $mofile_global ) ) 694 694 return load_textdomain( 'buddypress', $mofile_global );