Is it possible to translate standard error messages?

I continued my research, and there really isn’t a native way.

I found this issue:

And to really clear the doubt I went to investigate the core, and the error messages are written in English:

...
      if (!user) {
        throw new ValidationError('Invalid identifier or password');
      }

      if (!user.password) {
        throw new ValidationError('Invalid identifier or password');
      }
...

This implementation in the future would be very interesting, or perhaps some solution that does not require much effort.

1 Like