BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Translation not working
Tagged: boss, translation
- This topic has 10 replies, 3 contibutors, and was last updated 8 years, 7 months ago by Anonymous.
Question
March 4, 2016 at 1:42 pm #61508@nexxeraHi there;
I’m having some hard time with translations on Boss. I’m using 2.1.1 version updated today and Loco to manage the translations. I have synced and translated lot’s of strings in Boss, Boss Media and Boss Wall but many of then just don’t change on front end.
See the captures attached to some examples. The same happens to many others strings, like “Post Update” buttom on wall. The “Create Group and Continue” on group creation. All of them are checked and correct on loco.
Any advice?
Thanks in advance
Answers
March 4, 2016 at 1:49 pm #61514@nexxeraSee in attach sample of screen not translated and po file for group creation and buttom.
March 4, 2016 at 3:21 pm #61528@nexxeraLooks like creating the translation file in languages/plugins/ made the translations work.
March 5, 2016 at 7:57 am #61610@nexxeraHi there, after change the translation files to /languages folder Boss finally accepted the translations. i was able to translate ALMOST everything, BUT…
The “Points” that goes into the header of profile to show BadgeOS points, just don’t translate anyway. I have trided on theme, and BadgeOS and wall plugins with no luck.
Please advice how to correct this.
Thanks in advance
March 5, 2016 at 8:05 am #61613@
AnonymousHi @nexxera
It’s minor theme issue which is left to change the text domain
Line 125
/boss/buddypress/members/single/member-header.php
Replace<p><?php printf( _n( 'Point', 'Points', $points, 'social-learner' ) ); ?></p>
with
<p><?php printf( _n( 'Point', 'Points', $points, 'boss' ) ); ?></p>
It will start working
Varun DubeyMarch 5, 2016 at 8:30 am #61621@nexxeraHi there, thanks for checking in this.
Please adjust for next update!
Kind regards
March 5, 2016 at 12:14 pm #61635@
AnonymousHi @nexxera
I have already added it inside our todo list.
Regards
Varun DubeyMarch 24, 2016 at 3:38 am #64964@crowdsparksHi, @vapvarun
Line 125 is this one
“remove_action( ‘bp_member_header_actions’, ‘bp_add_friend_button’, 5 );”
How to translate “Friends” and “Ponts”?March 24, 2016 at 4:03 am #64970@
AnonymousHi @crowdsparks
No need to change any codes, we have already pushed inside our updates.
You can use language files to translate them
RegardsMarch 24, 2016 at 8:36 am #65016@crowdsparks@vapvarun
But it 100% translated. But still can’t change “Friends” and “Points” to Russian
March 26, 2016 at 10:08 am #65458@
AnonymousHi @crowdsparks
I have upload new ru langugae file it have Points string
https://www.dropbox.com/sh/l84553917q10u2s/AADpgqEdWpIeUzH0kWwoQ5xxa?dl=0Regards
Varun Dubey
- The question ‘Translation not working’ is closed to new replies.