Support » Plugin: Ultimate Member – User Profile, User Registration, Login & Membership Plugin » Change language of “Reset my password” button

  • Resolved michaelpersch

    (@michaelpersch)


    Hello, today I tried to change the language of the “Reset my password” link.
    But it seems not to be in a language file, therefore I cannot change it with Loco Translate. I think this should be fixed.

    My workaround for now is to change the value of the button with a Javascript:

    <script>
    if (window.location.href.indexOf("page_id=42") > -1) {
    	password_reset_button = document.querySelector("#um-submit-btn");
    	password_reset_button.value = "Passwort zurücksetzen";
       }
    </script>

    Of course, you have to change the page_id=42 to your password reset page name.

    Best regards
    Michael

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Aswin Giri

    (@aswingiri)

    Hello @michaelpersch

    Thank you for letting us know about the issue, we will have a look at the issue and fix it in future releases. Can you please tell me if you are referring to the ‘Reset password’ button located at templates/password-reset.php ?

    Thread Starter michaelpersch

    (@michaelpersch)

    Hey, it is my fault, because there are some changes to this file if I compare it to the current version of Ultimate Member and it seems like the variable name (translation text) changed during development. I would try to just use your version, but it is in the middle of the night here, 4 o’clock in the morning, and I don’t want to make any changes to my site which could possibly break anything.

    I tried it now:
    Everything seems to be alright on your side!

    Plugin Support Aswin Giri

    (@aswingiri)

    Hello @michaelpersch

    Thank you for letting us know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.