Multi-language Zod Schema Validation with PayloadCMS and Next-intl #13218
Unanswered
only-issues
asked this question in
Q&A
Replies: 1 comment
-
I agree |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello PayloadCMS Support Team and Community,
I'm currently facing challenges implementing multi-language support for a website that uses Zod for schema validation. Here's my current setup:
next-intl
for internationalizationThe Problem
I need to implement multi-language error messages for my Zod schemas while maintaining the ability to reuse these schemas across different parts of the application (both admin and frontend). Currently, I'm unsure how to:
What I'm Looking For
Has anyone successfully implemented a similar setup? Any guidance, examples, or reference projects would be greatly appreciated!
Thank you for your time and assistance.
Beta Was this translation helpful? Give feedback.
All reactions