Unable to change language " QUIZ RESULTS "

Home Forums Legacy Support Support queries Translation issues Unable to change language " QUIZ RESULTS "

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #60028
    chwit
    Spectator
    Please tell me how to change this word, and some other words like " RESULTS AWAITED " and " <span style="color: #bbbbbb; font-family: pridiregular; font-size: 11px; font-weight: 600; line-height: 15.7143px; text-transform: uppercase;"><strong style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 16px; line-height: 24px; text-transform: none;">Submitted ....  "  <span style="color: #333333; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 16px; line-height: 1.5;">on the same page.</span> </span>   Please guide me , I use locotranslate for all other words, but could not find these words.
    #60056
    H.K. Latiyan
    Participant
    Please refer this article on translation: https://wplms.io/support/knowledge-base/translate-using-loco-translate-plugin/ The strings are present in the vibe course module plugin.
    #60068
    chwit
    Spectator
    I did as you describe but It's no "Quiz Result" word to translate in Vibe course module , Is it in the php file?
    #60098
    chwit
    Spectator
    Finally I go to edit the php file ,no sure is it okay? line 707  wp-content/plugins/vibe-course-module/includes/bp-course-actions.php ----------------------------------------------------------- if($the_quiz->have_posts()){ ?> <h3 class="heading"><?php _e('ผลคะแนน','vibe'); ?></h3> <div class="user_results"> <ul class="quiz_results"> ----------------------------------------------------------------------------- I wonder if this will effect the system or cause any problem in the future? please check for me . also on line 760 , 762 ---> echo '<i class="icon-check"></i> '.__('มีผลคะแนนแล้ว','vibe'); }else{ echo '<i class="icon-alarm"></i> '.__('รอผลคะแนน','vibe'); ----------------------------------------------------------------------------------------- thank you  
    #60360
    H.K. Latiyan
    Participant
    Its not a good practice to change the text in the php file itself, because after the update the file will change and all your customisations will be lost. As you found the text in the vibe course module files, only so the text is present in the vibe course module plugin. Please change the file back to normal and use the translation plugin, first rescan/sync the files and then try to translate the text.  
    #61540
    chwit
    Spectator
    Hi Latiyan, I did try as you advice many times ,as the result I could not find any "Quiz Results" text to translate. Please regenerate text search in Vibe Course Module with Loco Translate and you could found out the same to me. I have attached the screen shot when I try to find the word to translate. Thank you.Txt not found
    #61755
    Anshuman Sahu
    Keymaster
    Okay i was unable to replicate the issue at our test site . Please check i was able to translate the string "quiz result" using code styling localization plugin : http://prntscr.com/c073gx http://prntscr.com/c074ca You can try using the code styling plugin to translate these strings . Please do not forget to first "Re-scan" the files of vibe course module  and then after translating generate the mo file .
    #61786
    chwit
    Spectator
    Do I need to uninstall LOCO Translate first or that's ok to just follow your guide to install Localization?   Please advice.
    #62013
    H.K. Latiyan
    Participant
    No need to uninstall loco translate plugin. Just open the vibe course module plugin in the loco translate and select the vibe.pot file, refer: http://prntscr.com/c0o7gf. Now the page will reload and then just click on sync button. Now again open the vibe course module plugin and then search for the "quiz results" text and then you will find the text and can translate it. This is because the pot file is outdated and when you sync the pot file it will be updated automatically. Let me know if this helps.
    #64886
    chwit
    Spectator
    Thank You, Finally I can edit the text as your great advice.   Very good support!
    #64896
    H.K. Latiyan
    Participant
    Thanks for confirming, so marking the topic as resolved and closing the topic.
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Unable to change language " QUIZ RESULTS "’ is closed to new replies.