- This topic has 17 replies, 3 contibutors, and was last updated 9 years, 4 months ago by .
-
Question
Answers
- The question ‘Problem when translating strings’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › Problem when translating strings
Hello,
I’m trying to translate the theme but I faced a problem translating the strings in Sensei Buddypress plugin.
When I tried to translate ” %1$s completed the lesson %2$s “, A lot of things disappeared like: lesson image, lesson name, teacher name, ..etc. I even tried to remove the word “the” and faced the same problem. (Please check the attachment)
Thanks
Hey @anas-aljefry,
I have attached language files for social learner in following link.
https://www.buddyboss.com/support-forums/topic/sensei-buddypress-translation-where-are-the-strings/
Please download them and add it to Social Learner child theme folder.
It have all terms used in social learner child theme.
Regards
Hello @vapvarun,
I’m still waiting for an answer. I think you answered the wrong question.
Rgarads
Hi @anas-aljefry, I am looking for string issue, you can use loco plugin meantime to edit those strings easily, try that once as well.
Forums links missing condition to check for active status of Forum for Current Group. that’s why it is displaying forums tab even it is not active.
it is added inside boss-sensei/Templates/Sensei/content-single-course.php
Line 172
update it with following code
<?php if ( !empty( $group_data->enable_forum ) ){ ?>
<li id="nav-forum-groups-li"><a href="<?php echo $group_slug.'/forum/'; ?>" id="nav-forum"><?php _e('Forum','boss-sensei'); ?></a></li>
<?php } ?>
Regards
Varun Dubey
Hello @vapvarun,
Any update on the string issue? I’m facing the same problem with loco plugin & poedit.
I just want to make sure that you understand the problem.
When translating the string “%s completed the lesson” to any other string (even in english), the lesson image, lesson title, lesson teacher, course name disappear.
BR
Hello @vapvarun,
Any update?
Not yet, will update you asap as i will get update from developers.
Regards
Hello @vapvarun,
It’s been a month and you didn’t offer any solution to the problem. It’s very important for me to find a solution to this issue.
BR
Hello @pallavi @vapvarun
I hope that you haven’t forgot this problem. I’m using the latest version of buddypress sensei 1.0.8.
BR
Hello @vapvarun
I have a similar problem. Take a look here:
translation problem
Regards,
Kaspar
Hi @anas-aljefry, it is fixed in our last update and but old post activities will not be changed , any new activity will have translation
Regards
Hello @vapvarun
I think you missed my point. The activity is shown when translated but the lesson title, lessson image, teacher name, course name are not shown.
I’m not sure what update are talking about. I’ve tested on:
Boss. theme 1.2.1
Social learner 1.0.3
buddypress sensei 1.0.8
Please take a look at attachment to understand the problem clearly.
BR
Hi @anas-aljefry, I have discussed with developers again
String translation fixes were done in buddypress sensei 1.0.8
For the display of lesson title, lessson image, teacher name, course name it’s still pending in our todo list.
Regards
Hello @vapvarun
Any ETA?
I have also check for initial query again ,
” Currently completed %s lesson of %s in total ”
is part of Sensei plugin translation string, please check sensei.pot file
Regards