Replies: 2 comments
-
I guess the typescript problem has something to do with this #9858. |
Beta Was this translation helpful? Give feedback.
0 replies
-
See also this discussion #11710. |
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
-
Hi!
I have added i18n to the BeforeLogin component. I had to convert it from a server component to a client component with
'use client'
to make it work. What is best practices, is it possible to keep it as a server component?I couldn't implement type safety. Tried follow the docs: https://payloadcms.com/docs/configuration/i18n#typescript
Could anyone give me an explanation for a newbie?
ideally I would like to have the translations in a separate package like
@payloadcms/translations-seed
.My payload.config:
Beta Was this translation helpful? Give feedback.
All reactions