The easiest way for that is to use the language file.
Customizing Labels, Messages, and URLs
Thanks @danup,
I looked up that link and in that PO file noticed a whole bunch of “group” word which some are referring to like: #: bp-activity/bp-activity-actions.php:556 bp-groups/bp-groups-actions.php
Now, if I go ahead and change bp-groups.actions.php to #: bp-activity/bp-activity-actions.php:556 bp-groups/bp-campaigns-actions.php it will create a problem…wont it?
Do I need to go line-by-line in that file and change the word(s) where it’s needed without changing the file name as mentioned above?
If so, this is going to be a long process as I can’t use “find and replace” feature to update my change quickly.
Cheers,
Dave
How are you going to generate the .mo file after you edit the .po file?
The examples you give are just references to where the .mo
language file should be used.
You only want to change the actual usage. Don’t touch the references.
So
#: bp-core/bp-core-template.php:505
msgctxt "search form"
msgid "Groups"
msgstr ""
becomes
#: bp-core/bp-core-template.php:505
msgctxt "search form"
msgid "Campaigns"
msgstr ""
If you want to use find-replace, use a case sensitive approach.
Regardless, I recommend using poEdit.