Home › Forums › Legacy Support › Support queries › Translation issues › Unable to change language " QUIZ RESULTS "
- This topic has 10 replies, 3 voices, and was last updated 8 years, 3 months ago by H.K. Latiyan.
Viewing 11 posts - 1 through 11 (of 11 total)
-
AuthorPosts
-
July 23, 2016 at 7:24 am #60028chwitSpectatorPlease 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.July 23, 2016 at 8:40 am #60056H.K. LatiyanParticipantPlease 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.July 23, 2016 at 9:01 am #60068chwitSpectatorI did as you describe but It's no "Quiz Result" word to translate in Vibe course module , Is it in the php file?July 23, 2016 at 12:11 pm #60098chwitSpectatorFinally 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 youJuly 25, 2016 at 12:39 pm #60360H.K. LatiyanParticipantIts 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.August 1, 2016 at 4:04 am #61540chwitSpectatorHi 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.August 1, 2016 at 12:39 pm #61755Anshuman SahuKeymasterOkay 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 .August 1, 2016 at 2:16 pm #61786chwitSpectatorDo I need to uninstall LOCO Translate first or that's ok to just follow your guide to install Localization? Please advice.August 2, 2016 at 2:05 pm #62013H.K. LatiyanParticipantNo 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.August 17, 2016 at 2:23 am #64886chwitSpectatorThank You, Finally I can edit the text as your great advice. Very good support!August 17, 2016 at 6:07 am #64896H.K. LatiyanParticipantThanks for confirming, so marking the topic as resolved and closing the topic.
-
AuthorPosts
Viewing 11 posts - 1 through 11 (of 11 total)
- The topic ‘Unable to change language " QUIZ RESULTS "’ is closed to new replies.