Where can I change text after "failed" login: "There is already an account registered with the username supplied by Discourse. ..."

AI-generated summary

The discussion is about modifying an error message that appears when a user tries to login via Discourse SSO to a WordPress website, but their account is not linked. jrgong wants to translate and customize the message “There is already an account registered with the username supplied by Discourse…” to German. [Arkshine](/t/-/357393/3, /t/-/357393/5) found the source of the error message and suggested using a plugin like Loco Translate to translate the plugin strings. Angus McLeod also recommended using Loco Translate or WPML to translate all plugin strings.

Hey guys,

Where can I change the following error message, can’t find the text snippet in WP Discourse Plugin settings:

There is already an account registered with the username supplied by Discourse. If this is you, login through WordPress and visit your profile page to sync your account with Discourse

In my particular case I want to translate it to German and customize it a bit

What is the context of this error?
I can’t find any occurrence no matter where I search.

It happens when a user tries to login via Discourse SSO to a WP website and account with same email exists on both Discourse and WP instances but are not linked yet.

OK, I found it:

You will need a plugin such Loco Translate – WordPress plugin | WordPress.org or similar to translate easily the plugin strings.

If you wish to translate all of the strings in the plugin please use a solution such as Loco Translate or WPML.