Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 128,795
- Creating & Extending
- 25,727
- Requests & Feedback
- 9,439
- Third Party Plugins
- 9,772
- Showcase
- 3,317
- Ideas
- 1,387
- Miscellaneous
- 9,125
-
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