• Resolved anne1101

    (@anne1101)


    Hi, when someone tries to reset their password to a weak-ish password, users get the error message:

    Due to site rules, a strong password is required. Please choose a new password that rates as Strong on the meter. Das Passwort wurde nicht aktualisiert.

    You’ll notice that the last sentence is already translated to German. Which is fine. But where can I find the other text to get them translated to German? I think I have looked about everywhere but cant seem to find these two sentences. Can you help me? I really need that whole message in German for my users.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @anne1101,

    The shortest route would be to edit the wp-content/languages/plugins/better-wp-security-de_DE.po file (which is probably already there) using Poedit. Then simply add the German translation string and save the file.

    The longer route is to get the currently submitted translation string approved on translate.www.remarpro.com. It’s current status is waiting for approval. Once it’s approved you only need to update the German plugin translation in the site.

    +++ To prevent any confusion, I’m not SolidWP +++

    Thread Starter anne1101

    (@anne1101)

    Hi @nlpro, thanks for your answer. I have checked the language file it is at a 100% translation and I cannot find these two sentences in their either. They should be in there, shouldn’t they?

    • This reply was modified 8 months, 3 weeks ago by anne1101.

    Hi @anne1101,

    Yes, once the wp-content/languages/plugins/better-wp-security-de_DE.po file is opened in Poedit it will say 837 of 838 (99%) translated (The string “Backup” is missing the plural translation). Don’t be fooled by the 99% because the current German plugin translation is only 39% completed as indicated on translate.wordpress.com. Apparently translation strings submitted but waiting for approval and/or untranslated on translate.wordpress.com are not yet included in the .po file (Learned something new … ). When the translation on translate.wordpress.com is 100% completed the .po file will contain 1761 strings.

    It does by the way contain the string “Das Passwort wurde nicht aktualisiert.”(The password has not been updated.)

    Since Poedit doesn’t allow you to add a new string use something like Notepad to add the new translation string:

    #: core/modules/strong-passwords/Strength_Requirement.php:84

    msgid “Due to site rules, a strong password is required. Please choose a new password that rates as Strong on the meter.”
    msgstr “”

    (There is not supposed to be an empty line between the first and second line but for some reason I can’t get rid of it)

    Then use Poedit to add the translation (Aufgrund von Website-Regeln ist ein starkes Passwort für dein Konto erforderlich. Bitte w?hle ein neues Passwort, welches als Stark auf dem Z?hler bewertet wird.) and save the file. Make sure to upload/replace both: .po and .mo files. WordPress only uses the .mo file.

    • This reply was modified 8 months, 3 weeks ago by nlpro.
    • This reply was modified 8 months, 3 weeks ago by nlpro.
    • This reply was modified 8 months, 3 weeks ago by nlpro.
    Plugin Support chandelierrr

    (@shanedelierrr)

    Hi @anne1101, I hope the previous reply from @nlpro helped. Thanks for the assist, @nlpro!

    I’ll go ahead and mark this post resolved. If you still require further assistance, feel free to open a new support topic, and we’d be happy to assist.

    Have a great day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translate Password Strength Error Message’ is closed to new replies.