Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,527
- Creating & Extending
- 25,791
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,169
-
You have copied the same example twice and that’s the stock default directory for bp language files.
You want the second example below that one:
`define( ‘BPLANG’, ‘mysite’ );
if ( file_exists( WP_PLUGIN_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ );
}`
if you want the files in their own directory then do:
/my-language-files/buddypress-‘ . BPLANG . ‘.mo’
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS