Job for T3 setup with i18n
is anyone could be help to fix a T3 setup with Translation (next-i18next or equivalent)?
13 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
or Next-Translate maybe ?
My issue is that it doesn't translate, the next-i18next object with debug to true is fine, no error in console, just nothing: no translate. So its difficult to track.
with trpc-todo from tRPC create app, it works fine . (https://github.com/trpc/examples-next-prisma-todomvc)
with T3 create it sucks
What error did you run into? I've never used next-18next but seems to work for me: https://github.com/juliusmarminge/t3-i18n
https://t3-i18n.vercel.app/sv (has /sv and /en)
I have no error, just it doesn't translate, I will look your repo, thanks for post it
your setup work great @julius, just put the localPath out from i18n object, it could fail with monorepo
thanks
Awesome
wrong image
updated the reference repo. might come in handy for others in the future
I used your setup for my project now everything work now with tRPC and nexti18next
thanks a lot for your input, yes your repo may help some peaple
added to the faq https://beta.create.t3.gg/en/faq
Create T3 App
FAQ 🚀 Create T3 App
The best way to setup an opinionated, full-stack, typesafe Next.js project
your version have last react-query : tanstack with tRPC beta 10, I used the old version
yea i just pulled the latest create-t3-app and added next-18next according to their docs
amazing
I love this stack