Translating strings with loco

Home Forums Legacy Support Support queries Translation issues Translating strings with loco

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #253582
    johnfelipe
    Spectator
    Hi, There are 4 buttons left in my website that have become impossible to translate, from those buttons, 3 belong to mycred plugin and the other does not show up in any plug in nor in the theme: https://ibb.co/2jFgG8Y That one, "Events" is already translated but as you see, nothing changed in the front end. https://ibb.co/dmP1c72 From those 3 buttons, Achievments is not showing up in any plugin and ranks and points are not affected by the translation using loco. What can i do to solve this issue? Thanks.
    #253835
    Jackson
    Blocked
    hello, give me the page url so that i can share a custom code to change the string. i have test it first then i will share a working code.
    #253865
    johnfelipe
    Spectator
    This reply has been marked as private.
    #254048
    Jackson
    Blocked
    Hello, goto ap-admin - all pages - page and change the title of drive page and event page check if it does the trick. if it does not work then

    add this code in wp-admin -- wplms -- footer --- google analytics code.

    <script>

    jQuery(document).ready(function($){

    $('.single-course div#item-nav li#drive a').text('drive hai new wala');

    $('.single-course div#item-nav li#events a').text('event hai new wala');

    });

    </script>

    refer: http://prntscr.com/s552zx effect: http://prntscr.com/s555la  
    #255116
    johnfelipe
    Spectator
    the script worked! How can i use it to translate the buttons of the second pic: https://ibb.co/dmP1c72
    #255324
    Jackson
    Blocked
    i cant check this tab without your admin credentials or an instructor who has this achievement tab. i will check the codes then share with you
    #255395
    johnfelipe
    Spectator
    This reply has been marked as private.
    #255627
    Jackson
    Blocked
    goto wp-admin > pages >> all pages. find these pages there and rename thier title. like buddydrive to translated drive it should work else i will share the codes.
    #255661
    johnfelipe
    Spectator
    Didn't find those options in pages, please share the code.
    #255909
    Jackson
    Blocked
    add this code in wp-admin -- wplms -- footer --- google analytics code. <script> jQuery(document).ready(function($){ $('.xprofile a#user-points').text('new points'); $('.xprofile a#user-ranks').text('new ranks'); $('.xprofile a#user-achievements').text('new achieve'); $('.xprofile a#user-buddydrive ').text('new drive'); }); </script>
    #256681
    johnfelipe
    Spectator
    that's it! Thank you very much!
    #256924
    Jackson
    Blocked
    regards, closed
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Translating strings with loco’ is closed to new replies.