Vibe Course Module

Home Forums Legacy Support Support queries Translation issues Vibe Course Module

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #230712
    MeesterGijs
    Spectator
    Hi, I can't seem to get these strings related at www.meestergijs.nl/present-simple TAKE THIS COURSE and Congratulations! You've been subscribed to this course. See video Any help would be great Gijs
    #230744
    logan
    Member
    Hello, nothing found here: http://prntscr.com/pm25wb please make sure plugin is synced.
    #230777
    MeesterGijs
    Spectator
    You have to be logged in without an active membership. That's when you see this: https://imgur.com/a/ZcUDyYU
    #230935
    logan
    Member
    Hello, Please find this string in the vibe course module as well as in the vibe custom type plugin. save and sync the string. refer: https://cl.ly/521697
    #231021
    MeesterGijs
    Spectator
    Logan, I already did. As you can see in the video.. And the fyles were synced and saved. But I don't see the translations.
    #231175
    logan
    Member
    hello, add this code in customizer. add_filter('gettext', 'ps_remove_comments_are_closed', 20, 3);function ps_remove_comments_are_closed($translated_text, $untranslated_text, $domain) {
    if ( $untranslated_text == 'TAKE THIS COURSE' && is_user_logged_in()) {
    return '';
    }
    return $translated_text;
    }
    #231242
    MeesterGijs
    Spectator
    This is what happened after I added the code: https://imgur.com/a/FDIRbx8 It was like this: https://imgur.com/a/lXp3aim
    #231282
    logan
    Member

    Hello,

    sorry my bad bro.

    add_filter('gettext', 'ps_remove_comments_are_closed', 20, 3);

    function ps_remove_comments_are_closed($translated_text, $untranslated_text, $domain) {
    if ( $untranslated_text == 'TAKE THIS COURSE' && is_user_logged_in()) {
    return 'BRO YOU ARE A PRO.';
    }
    return $translated_text;
    }

    #231332
    MeesterGijs
    Spectator
    Haha, BRO YOU ARE A PRO. I changed that ;) Thanks, you can close this one. Happy Dawali! (In the Netherlands we have Saint Maarten, 11 november). Same idea I think..
    #231366
    logan
    Member
    heheh yes it is friend. as I always say you are going to offer me beers and hot oven pizza someday.
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Vibe Course Module’ is closed to new replies.