Hello - using the latest supertokens-node lib, I don't see a way to customize or translate the error messages associated with SIGN_UP_NOT_ALLOWED for example. Is it in the roadmap ?
r
rp_st
04/02/2024, 5:12 AM
hey @cadlagtrader if you are using our pre built Ui, have a look at the language translation section in our docs. If using custom UI, you can just display your own error message in your own UI
c
cadlagtrader
04/02/2024, 11:52 AM
I am using the pre built UI, i have implmented your translation recommendations using i18next and it works well for the rest of the error messages. But these ones seems hardcoded in the source
r
rp_st
04/02/2024, 11:53 AM
These aren’t hardcoded either. You can see the translation source files linked from our docs. You will see they are also a part of the key value mapping we have