BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Wall › How change tab label "New Feed"?
Tagged: customization, language, tab lable, translation, wall
- This topic has 36 replies, 5 contibutors, and was last updated 9 years, 11 months ago by Milena.
Question
August 25, 2014 at 1:21 pm #30929@block4For my site I want to change the tab label “News Feed” to something else. I had thought to use localization to make the change, however, using the CodeStyling Localization plugin, I see both “Wall” and “My Likes”, but not “News Feed.” How can I change the News Feed label or get it to show up in the .po file?
Answers
August 25, 2014 at 7:23 pm #30935@alyssa-buddyboss
AlyssaParticipant@block4 Welcome to the BuddyBoss community! I’m sorry to say we forgot to add these to the language file. For now you will need to edit includes/main-class.php line 66-69 manually. We will get this fixed for the next minor release. If not please post back and I’ll make sure the developers get in the one after that.
August 27, 2014 at 11:28 am #31008@block4Thanks TJ. Editing the source file worked. Since BuddyBoss Wall isn’t in the wordpress.org repository, how will I know when the next release comes out?
August 27, 2014 at 3:14 pm #31023@
Anonymous@block4 Fixed locally. You’ll know when the next release comes out the same way as a regular WP plugin. We have a system that pushes updates in the same way. You’ll see the plugin update available in you WP admin and when you click update it will download the next release 🙂
August 29, 2014 at 11:26 am #31098@block4Yep, saw through the normal way that their was an update. After updating I saw that “News Feed” had been added to the language file, so thanks for that. Strangely though, even though I added a “translation” for Wall and Newsfeed, and the .mo file was generated, the translations do not display on the user’s wall. Additionally, now if I update the code in includes/main-class.php, the words in the tab do not update. I deleted the plugin and reinstalled version 1.0.1 and updated the code as directed, and the tab label updated. Then I updated the plugin again to 1.0.2 and updated the code as directed, and the tab label did not change.
September 1, 2014 at 5:52 am #31154@milenaHi guys,
@tjchester @michael
I think my question is related to this one.I am translating the theme and the plugin- but I cannot translate these strings-
Wall
News Feed
My LikesI found and translated “wall” and “my likes” (and “news feed” – after the update) but the translation is not showing on the front end.
there are a few other strings that I can’t seem to find ( “posted a picture”, you (%s posted an update) etc).
See what I mean HERE. Whatever is still in ENG is untranslatable.
Secondly –
How do I update without loosing the languages now that there are separated plugins. Is there a way to define the source of languages for the plugin- to come from the child theme, like with the theme languages?Make sure you see this exact line uncommented in the functions.php file in your child theme: load_theme_textdomain( ‘buddyboss’, get_stylesheet_directory() . ‘/languages’ );. That line tells WordPress to load your child theme’s language files in place of the parent theme’s language files. If you see the textdomain written as ‘buddyboss_child’, for this method you will want to change it to read as ‘buddyboss’.
from https://www.buddyboss.com/tutorials/language-translations/.
so far everytime I updated the plugins I had to manually upload the language files.
thanks.
Milena
September 1, 2014 at 7:58 am #31157@imdyakovIt looks like there is a problem in the code (bad references for Wall, News Feeds and My Likes strings) as they do not work even if you have translations for them in the .PO file.
I have sent that info to Michel’s email along with updated .POs for both Wall and Media plugins.
September 2, 2014 at 9:28 am #31176@alyssa-buddyboss
AlyssaParticipantSeptember 2, 2014 at 10:16 am #31181@block4Glad to hear this will be fixed.
As stated above: “now if I update the code in includes/main-class.php, the words in the tab do not update”.
September 2, 2014 at 4:22 pm #31207@alyssa-buddyboss
AlyssaParticipantSeptember 2, 2014 at 4:41 pm #31214@imdyakovThanks TJ. Looking forward for an update.
September 9, 2014 at 3:55 am #31417@milenaHi @tjchester,
I was wondering about the update, is it about to be available soon?
Also what exactly do I update manually?
@block4 @milena @imdyakov CORRECTION these will be fixed in the next release. In the meantime you can edit the files manually includes/main-class.php line 267-270
I can see the English strings for
Wall
News Feed
My Likes
in the translation file, but whatever I translate is not showing up.Milena
September 9, 2014 at 10:04 am #31427@alyssa-buddyboss
AlyssaParticipant@milena you will need to edit the PHP file manually until the next release. I’m not sure when that will be.
September 9, 2014 at 10:07 am #31428@milenaHi there @tjchester,
So you mean I should translate the strings in the php file…?
September 10, 2014 at 3:09 pm #31446
- The question ‘How change tab label "New Feed"?’ is closed to new replies.