Skip to:
Content

BuddyPress.org

Ticket #4190: mofile_local.patch

File mofile_local.patch, 608 bytes (added by slaFFik, 10 years ago)
  • bp-core-functions.php

     
    688688        $locale        = apply_filters( 'buddypress_locale', get_locale() );
    689689        $mofile        = sprintf( 'buddypress-%s.mo', $locale );
    690690        $mofile_global = WP_LANG_DIR . '/' . $mofile;
    691         $mofile_local  = BP_PLUGIN_DIR . '/bp-languages/' . $mofile;
     691        $mofile_local  = BP_PLUGIN_DIR . 'bp-languages/' . $mofile;
    692692
    693693        if ( file_exists( $mofile_global ) )
    694694                return load_textdomain( 'buddypress', $mofile_global );