How can I translate a shortcode

Home Forums Legacy Support Support queries Translation issues How can I translate a shortcode

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #80490
    educat
    Participant
    Hey, I'm using the wplms_quiz_score shortcode, wich displays the student score in a test like this "xx out of xx". The "out of" is what I want to translate, but I have searched troughout all the plugins and couldn't find it's source. How can I translate it?
    #80499
    All shortcode are located in vibe shortcodes plugin
    #80880
    educat
    Participant
    This one is not, refer: http://prntscr.com/d97k6h http://prntscr.com/d97kck
    #80942
    Go to wp-admin->loco translator->theme ->wplms find your string, write your translation and click on save.   Go to wp-admin->loco translator->plugins->vibe course module find your string, write your translation and click on save.  
    #81011
    educat
    Participant
    Man, I don't mean to be rude, but I know how to use Loco Translator. If I'm asking for help it's because it really isn't there (I checked all plugins and theme thrice). My prints proved it. There are other "out of" strings, but they all already have a translation. The "out of" I'm looking for doesn't have one and it's not there, either, because, in spite of the translated string, grades keep on being displayed in the following manner: "xx out of xx". http://prntscr.com/d9wtu9
    #81093
    First of all : Refer to these screenshots. http://prntscr.com/d9yewo http://prntscr.com/d9yg2e
    As i said these strings are located in the wplms theme and vibe course module plugin.
    WPLMS recommends using loco translator for translating. We have created a complete Step by step/common fixes guide  for loco Translator : https://wplms.io/support/forums/topic/translation-guide-by-vibe-themes-support/
    #81094
      VIA FTP Theme translation file location copy the vibe-xx_XX.po/mo  located in the "../wp-content/themes/wplms/languages/" folder  to  "../wp-content/languages/themes" folder. Plugin translation file location copy the 'abcd'-xx_XX.po/mo  located in the "../wp-content/plugins/'pluginname'/languages/" folder  to  "../wp-content/languages/plugins" folder.
    #81105
    http://prntscr.com/d9ykfo It seems like you have removed the %d and %s from the strings. This is totally Wrong. https://developer.wordpress.org/themes/functionality/internationalization/#variables Follow this Guide
    #81187
    educat
    Participant
    That's the spanish translation, we are using the portuguese translation. http://prntscr.com/da2yf9 I think it might be this one, but the translation is not showing http://prntscr.com/da30zq Maybe edit the template would work (?)
    #81255
    This reply has been marked as private.
    #82030
    educat
    Participant
    I found out what the issue was. In the end, it turned out to be that I hadn't synchronized the translations for ages. So, I did it and a bunch of strings I was looking for like crazy appeared and I could finally get to translate them. Thanks for all your support
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘How can I translate a shortcode’ is closed to new replies.