Effect CommunityEC
Effect Community2y ago
3 replies
arekmaz

Transitioning Remix Project from `zod` to `@effect/schema` with i18n Error Messages

I'm preparing to migrate a big production remix project from zod to @effect/schema

the last capability I'm missing is an ability to translate the error messages for forms (currently using react-hook-form/zod-resolver + https://github.com/aiji42/zod-i18n), and I'm planning to use
react-hook-form
effect-ts resolver + a custom solution that has to come with the same built-in translations for common schemas

I'm attempting to create something similar, here's an initial basic integration with i18next
https://effect.website/play#3efe9f827b7d
Was this page helpful?