• Resolved Leandro

    (@leandrorocha)


    Hello,

    Today I noticed that there isnt a phrase in pot files to translate the message when someone miss their username or password. The phrase in question is: ERROR: The username or password you entered is incorrect. Lost your password?

    This phrase is present in wordfenceClass.php inside lib folder in the line 2382 and 2793. The code is as follow:

    self::$authError = new WP_Error('incorrect_password', sprintf(__('<strong>ERROR</strong>: The username or password you entered is incorrect. <a href=&quot;%2$s&quot; title=&quot;Password Lost and Found&quot;>Lost your password</a>?',), $username, wp_lostpassword_url()));

    I believe that a wordfence text domain should be present in the end of the code.

    • This topic was modified 6 years, 2 months ago by Leandro.
    • This topic was modified 6 years, 2 months ago by Leandro.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @leandrorocha,

    There are plans for Wordfence to be completely translation ready. For the moment, you can manually change the string within the wordfenceClass.

    I’ll update this thread once I have more information on the status of translating Wordfence.

    Thanks!

    Dave

    I also trade to translate this :

    “INSECURE PASSWORD: Your login attempt has been blocked because the password you are using exists on lists of passwords leaked in data breaches. Attackers use such lists to break into sites and install malicious code. Please reset your password to reactivate your account. Learn More”

    I look in the wordfence.pot file but I could’n find it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cant Translate Login Error Message’ is closed to new replies.