-
Notifications
You must be signed in to change notification settings - Fork 39
Translation
r-a-y edited this page Jul 8, 2014
·
2 revisions
Some of you might want to change the default labels and text in the plugin to something that better suits your community.
The best way to do this is by creating your own translation file.
Here's a quick runthrough:
- Download the
bp-follow.pot
file located in the/languages/
folder of this plugin. - Open the POT file in your favorite translation program (such as PoEdit) and make your changes.
- If you're using PoEdit, follow these steps:
- https://make.wordpress.org/polyglots/handbook/tools/poedit/
- https://www.cssigniter.com/ignite/wordpress-poedit-translation-secrets/ (make sure you follow these instructions as well!)
- Once you have made your changes, save your files as
bp-follow-LOCALE.mo
andbp-follow-LOCALE.po
. ChangeLOCALE
to your WordPress locale. The default locale isen_US
. So, for most of you, your filenames should look like this:bp-follow-en_US.mo
andbp-follow-en_US.po
. - Next, move these files to
/wp-content/languages/
. If the/languages/
folder does not exist, create it! - Now, BP Follow should pick up your new labels.