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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
laurent6355
laurent63552y ago
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
julius
julius2y ago
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)
laurent6355
laurent63552y ago
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
julius
julius2y ago
Awesome
laurent6355
laurent63552y ago
wrong image
laurent6355
laurent63552y ago
julius
julius2y ago
updated the reference repo. might come in handy for others in the future
laurent6355
laurent63552y ago
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
julius
julius2y ago
Create T3 App
FAQ 🚀 Create T3 App
The best way to setup an opinionated, full-stack, typesafe Next.js project
laurent6355
laurent63552y ago
your version have last react-query : tanstack with tRPC beta 10, I used the old version
julius
julius2y ago
yea i just pulled the latest create-t3-app and added next-18next according to their docs
laurent6355
laurent63552y ago
amazing I love this stack
Want results from more Discord servers?
Add your server