Closed FranAM1 closed 1 year ago
Did you figure this out by any chance?
I still haven’t figured it out so I decided to leave the error messages in English for now
@FranAM1 I think I just figured it out! Try to replace zodI18nMap
with makeZodI18nMap({ t: i18next.t })
IT WORKED, THANK YOU
@hmnd you are life saver I love you bro 🎉
@FranAM1 I think I just figured it out! Try to replace
zodI18nMap
withmakeZodI18nMap({ t: i18next.t })
Life saver! Thanks!
this should be shown in the README!
When I initialize setErrorMap with zodI18nMap make all the error messages to null. It works fine without the translation.
I import the i18n configuration to my index.js
i18n,js
index.js