Title
a

Al

02/12/2019, 9:50 AM
Hi all, anyone has tried to implement i18n fields in prisma/graphql yoga using native code or plugins like i18next or similar?
h

Harshit

02/12/2019, 10:25 AM
Yes, you can add a Translations type easily. I know some people that have implemented this type of system
a

Al

02/12/2019, 1:45 PM
Cool! So using a a translation type in datamodel without plugins. Right?
h

Harshit

02/12/2019, 1:57 PM
yes, you can add this logic in graphql-yoga level
a

Al

02/12/2019, 2:10 PM
Thanks for the support
🙌 1
n

Nikolabjelo

04/19/2019, 11:58 PM
Hi, any project example as for how to implement that ?
h

Harshit

04/21/2019, 7:45 AM
GraphCMS has a translation system but it is closed source.
You can just add a Translation type and use it in place of strings