Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,527
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,782
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
it turns out you can just define a different place to put the language file, so it’s no big deal really. for example, put the bp-languages folder outside of the buddypress directory and load it like so
`if ( file_exists( WP_PLUGIN_DIR . ‘/bp-languages/buddypress-custom.mo’ ) )
load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/bp-languages/buddypress-custom.mo’ );`
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS