Translation of login form validation error messages of Firebase Auth

Hi there. How do yolu translate login form validation error messages of Firebase Auth? For example: “Authentication failed. Please check the user email and password” or “Email and password inputs can’t be empty”
Thanks for your help.

simple way is to create a condtinal based on error status or part of the string which will trigger your own text

yes absolutely thank you so much, it can be done this way for example:

IF(CONTAINS(outputs[“Email & password authentication (Firebase Auth)”].error.message, “empty”), “myTranslation”,"")

I would use something like this
IF(IS_EQUAL(outputERROR, “the actual error”), “translation”, “”)

yes sure we would thanks