Hi all, anyone has tried to implement i18n fields ...
# orm-help
a
Hi all, anyone has tried to implement i18n fields in prisma/graphql yoga using native code or plugins like i18next or similar?
h
Yes, you can add a Translations type easily. I know some people that have implemented this type of system
a
Cool! So using a a translation type in datamodel without plugins. Right?
h
yes, you can add this logic in graphql-yoga level
a
Thanks for the support
🙌 1
n
Hi, any project example as for how to implement that ?
h
GraphCMS has a translation system but it is closed source.
You can just add a Translation type and use it in place of strings