Support » Plugin: User Registration Aide » Translation problems

  • I have noticed that some of the translation from the localized translation doesn’t show up as expected.

    • On wp-login.php?action=rp – the text Enter your new password below and confirm it, Thank you! doesn’t get translated with the new po/mo files that I sent you
    • On wp-login.php?action=resetpass – the text You have successfully changed your password! You may now login again with your new password! – doesn’t get translated
    • In the password mail the topic [%s] Your User Account has been Approved! doesn’t get translated

    There might be more places – and I’ll let you know if I find them.

    • This topic was modified 5 years, 10 months ago by lsommerdal. Reason: Misuse of formatting
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bnovotny

    (@bnovotny)

    Yes, I am looking into that per your email. Seems the translation for the Password Length too short is using sprintf and that is not translating, all the other translations in the user-reg-aide-xwrd-functions seems to be functioning properly.

    line 587 /classes/user-reg-aide-xwrd-functions.php
    $errors->add( 'password_too_short', sprintf( __( "<strong>ERROR</strong>: Password length too short! Should be at least %d characters long!", 'user-registration-aide' ), $options['xwrd_length'] ) );
    Not sure why that isn’t translating.

    I will continue to look into that this week.

    • This reply was modified 5 years, 10 months ago by bnovotny.
    Plugin Author bnovotny

    (@bnovotny)

    For the first two phrases that do not get translated,

    • On wp-login.php?action=rp – the text Enter your new password below and confirm it, Thank you! doesn’t get translated with the new po/mo files that I sent you
    • On wp-login.php?action=resetpass – the text You have successfully changed your password! You may now login again with your new password! – doesn’t get translated

    those are WordPress phrases.

    My plugin does not change any of that on the wp-login.php page outside of the login and registration forms. I have my own templates for changing passwords for use when you have the password duration feature activated, which means that the user must change their password after a predetermined amount of time.

    As for the other one, I have this on line 742 of /classes/ura-email-class.php
    @wp_mail( $this->user_email, sprintf( __( '[%s] Your User Account has been Approved!' ), $this->blogname ), $message );

    Not sure why that is not translating either.

    • This reply was modified 5 years, 10 months ago by bnovotny.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translation problems’ is closed to new replies.