• Resolved jazzu

    (@jazzu)


    Hello!

    I’m trying to translate the “Error: This e-mail is already registered. Log in or choose a different email.” I can translate everything, except the Log in part, since it’s a link.

    You can see what I mean here.

    Kind regards

    • This topic was modified 2 years ago by jazzu.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    That must be coming from another plugin, as the official WP message is:

    <strong>Error</strong>: This email is already registered. Please choose another one.

    Thread Starter jazzu

    (@jazzu)

    Hello @jfarthing84 !

    Thank you for your reply. I don’t know which other plugin this could be coming from, since this is the only plugin that I’m using that effects login/register pages.. The exact message that I’m getting is

    This email address is already registered. Log in with this address or choose another one.

    Update: I also tried disabling all the other plugins, except Theme My Login, and the same message appears. Another thing I noticed is that when you try to register, if you don’t use the same password, you get the error message

    Error: Passwords don't match. Please enter the same password in both password fields.

    I translated that error in Loco Translate and it doesn’t translate it. I tried translating it in functions.php using

    function translate_strings($translated) {
    	$translated = str_ireplace('Passwords don’t match. Please enter the same password in both password fields.', 'Gesli se ne ujemata. Prosimo, vnesite isto geslo v oba polja.', $translated);
    		return $translated;
    }

    And it still doesn’t change for some reason, so there’s something weird going on here.

    Kind regards

    Plugin Author Jeff Farthing

    (@jfarthing84)

    The full “passwords don’t match string is here:

    <strong>Error</strong>: Passwords don’t match. Please enter the same password in both password fields.

    Note that the apostrophe is actually “& #8217;” (with no space).

    The “email address is already registered” message, I was able to locate within WooCommerce.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t manage to translate something in registration’ is closed to new replies.