• Resolved przembar

    (@przembar)


    I wanted simple change in user menu in my-courses/
    Changing Sign Out what is translated to Wyloguj
    to Wyloguj Si?
    In html it looks like

    <li class="llms-sd-item signout ">
    				<a class="llms-sd-link" href="https://jaktestowac.pl/wp-login.php?action=logout&redirect_to=https%3A%2F%2Fjaktestowac.pl%2Fmy-courses%2F&_wpnonce=1d44d79c39">Wyloguj</a>
    				<span class="llms-sep">?</span>
    			</li>

    And in po file:

    #: includes/class.llms.nav.menus.php:163 includes/class.llms.nav.menus.php:164
    #: includes/class.llms.student.dashboard.php:171
    msgid "Sign Out"
    msgstr "Wyloguj si?"

    So I followed this tutorial:
    https://lifterlms.com/docs/export-translations-glotpress/
    And after importing, editing and compiling with https://poedit.net/
    I added folder as described here https://lifterlms.com/docs/how-to-load-lifterlms-translation-files-or-language-packs/
    So I get 2 new files in new folder
    wp-content/languages/lifterlms/lifterlms-pl_PL.po
    wp-content/languages/lifterlms/lifterlms-pl_PL.mo

    Do I need to change something more to make those changes work?

Viewing 1 replies (of 1 total)
  • @przembar,

    This is all correct. The only other requirement is that your site is actually using pl_PL fro the locale.

    Under Settings -> General do you have this set as your site’s language?

Viewing 1 replies (of 1 total)
  • The topic ‘Translation not working’ is closed to new replies.