Shouldn’t you be able to just change these buttons text using a language file? It’s not a good idea to modify the core files since they’ll get overwritten when you upgrade.
The app is using the translation strings (with default verbiage) — that’s why you see stuff like __( ‘Leave Group’, ‘buddypress’ ) for example, in the code.
You need to make a custom language file as well as changing slugs in wp-config.php (optionally). Search this forum for more info on how to create a language file and switch it on with bp-custom.php for your install. I recommend getting poedit from Sourceforge to make editing easier.
Great. Thanks for the information and guidance. I am new to buddypress and still getting familiar with the code. The language file and other custom labels is exactly what I needed.
@wa007 No problem. There are a few threads as well where people have offered advice on doing this sort of thing, or if you get stuck, ask back in here.
I actually dont get it
what is the purpose of the POEDIT application… i chaged my “join Group” to “join Us’… but the text didnt change… but when i edit from buddypress core files ‘bp_groups_template.php” .. it changes to ‘join Us’ and it is my understanding that core files arent to be tampered with… due to future update… can sumone pls explain this language file thing proparly and how i can customize my texts and strings… or is the another way
I actually dont get it
what is the purpose of the POEDIT application… i chaged my “join Group” to “join Us’… but the text didnt change… but when i edit from buddypress core files ‘bp_groups_template.php” .. it changes to ‘join Us’ and it is my understanding that core files arent to be tampered with… due to future update… can sumone pls explain this language file thing proparly and how i can customize my texts and strings… or is the another way