Change language of “Reset my password” button

[ad_1]

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer