BuddyBoss Home – Web Support Forums Solutions Social Learner Buddypress for learndash – don't translate

Viewing 5 posts - 1 through 5 (of 5 total)
  • Question

    #47386

    Hi,

    I have translated Learndash and the Social Learner theme to Danish (including Boss, Buddypress, bbpress, Buddypress for Learndash (v1.0.4), bbpress for Learndash ).
    But on the course page everything doesn’t translate.
    The progress bar doesn’t translate when the user is logged in (but only when your logged out)
    And the group view on the course page doesn’t translate neither.
    – see this link
    Page with images

    The strange thing is that it’s only on the course site that the group informations turn up in English. On the normal group site all is in Danish.
    Regarding the progress bar – If you look in the Code of the page on the picture it actually puts in the Danish translation in the code – the code is:
    <div class=”progress-wrap”>
    <span class=”course-completion-rate”>0 out of 4 steps completed</span><span class=”percent”>0%</span>
    <dd class=”course_progress” title=”0 ud af 4 trin afsluttet”>
    <div class=”course_progress_blue” style=”width: 0%;”>
    </div></dd>
    </div>
    “0 ud af 4 trin afsluttet” is the Danish translation for “0 out of 4 steps completed”

    Cheers,
    Kaspar

    Answers

    #47466

    Anonymous
    @

    Hi @kaspar, need to check it once, will update you shortly
    Regards

    #47473

    No problem and thanks

    #47526

    Anonymous
    @

    Hi @kaspar

    Currently completed %s lesson of %s in total
    is part of Sensei translation , Please check your translation string inside for Sensei plugin.

    Regards
    Varun Dubey

    #47623

    Hi @vapvarun

    I have fixed the issue with “completed %s …” if was due to bad coding in the ld-course-progress.php from learndash. I have fixed it manually and have been in contact with Justin from Learndash, so I think they will fix it for future releases.

    But there was also the problem with the english strings for groups at the course page. That is due to an a wrong reference in your Boss learndash plugin. In the file single-sfwd-course.php in line 148-155 there all the names refers to Boss-sensei even though I have brought the boss-learndash module. I have fixed it by renaming the strings but it would be nice if you can change it in the future so I won’t have to do it manually again when there comes an update.

    There are also two cases in the main.php for the boss learndash plugin where it’s the case:
    line 618 & 684
    As well in requirements-class.php – line 22 & 40
    Also in widget-boss-edu-course-progress.php line 244 & 247

    Under admin tab for groups there is also an error.
    Here it doesn’t translate “Course settings”
    That’s due to:
    bp-learndash-group-settings.php
    line 18 – where you need to refer it to the language file

Viewing 5 posts - 1 through 5 (of 5 total)
  • The question ‘Buddypress for learndash – don't translate’ is closed to new replies.