Shobky
TTCTheo's Typesafe Cult
•Created by Jakub on 8/9/2023 in #questions
i18next App router setup
Thank you!
21 replies
TTCTheo's Typesafe Cult
•Created by Jakub on 8/9/2023 in #questions
i18next App router setup
I'll look in it next time I have to do internationalization which I hope it doesn't happen again
21 replies
TTCTheo's Typesafe Cult
•Created by Jakub on 8/9/2023 in #questions
i18next App router setup
I was really annoyed before I found next-intl all other solutions are just crap and docs aren't clear so At least it works
21 replies
TTCTheo's Typesafe Cult
•Created by Jakub on 8/9/2023 in #questions
i18next App router setup
It's an extra step but it can be cleaner sometime
I like to put an index.tsx file in the component folder and import children into it to do the wrapping it makes it much cleaner
21 replies
TTCTheo's Typesafe Cult
•Created by Jakub on 8/9/2023 in #questions
i18next App router setup
You can just use a wrapper same way you deal with addin RCC as a child to RSC but this way they both are server
21 replies
TTCTheo's Typesafe Cult
•Created by Jakub on 8/9/2023 in #questions
i18next App router setup
I didn't experience using it with async RSC's though it worked very well for my use case as it was just a static site
21 replies
TTCTheo's Typesafe Cult
•Created by Jakub on 8/9/2023 in #questions
i18next App router setup
The easiest way is to use next-intl.
See implementation here
https://github.com/shobky/solymaneya
21 replies