Unable to translate "Forgot password" notification email

This topic contains 2 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #1738

    Jordi Villar
    Free User
    Post count: 23

    Hi!
    Using Poedit I’ve created an spanish .PO .MO translation files named as userswp-es_ES.po and userswp-es_ES.mo, both uploaded to wp-content/languages/plugins
    The most of backend strings are now translated to spanish, but when customizing notification emails, setting up the forgot password notificaction, .po .mo strings as

    “If this was by mistake, just ignore this email and nothing will happen.”

    “To reset your password, click the following link and follow the instructions.”

    inserted by the [#login_details#] shortcode are not translated on the received user email.

    Trying to fully customize the notification email, avoiding the use of the [#login_details#] shortcode, I’ve detected that the [#reset_link#]shortcode is not sending a reset link in order to reset the user password.

    When using the [#login_details#] shortcode I’m not able to translate, but there’s a Reset link inside the text generated:

    “You have requested to reset your password for the following account:

    https://******.com/ (manually hidden)
    Usuario: jordivil

    If this was by mistake, just ignore this email and nothing will happen.

    To reset your password, click the following link and follow the instructions.

    https://***.******.com/restablecer/?key=9WSdT4LZEhv6eELG5bK5&login=jordivil

    How can I achieve that the .po.mo translation filest take effect on notification email?

    The [#reset_link#] shortcode is not the right one for include the reset link in this notification?

    thanks a lot in advance
    Jordi

    #1739

    Jordi Villar
    Free User
    Post count: 23

    sorry, please.. delete my post

    Jordi

    #1740

    Alex Rollin
    Moderator
    Post count: 27815

    OK! Thanks for letting us know!

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket