-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Internationalization Help #3309
-
Hello,
Is there any guide/tutorial on how to implement internationalization with ssr suport in tanstack start (router) app?
Example app could also be helpful 😄
Beta Was this translation helpful? Give feedback.
All reactions
juliomuhlbauer created examples for TanStack Router and Start which supports i18n routing via Paraglide JS
Replies: 3 comments 4 replies
-
Hey @bartkownacki ,
Here are some relevant links:
-
TanStack Router SSR Guide: https://tanstack.com/router/v1/docs/framework/react/guide/ssr
-
react-i18next Documentation: https://react.i18next.com/
-
Multi-language app in the route (TanStack Router Discussion): multi language app, in the route #1841
-
I18nProvider breaks client hydration in TanStack Start (Issue Report): I18nProvider breaks client hydration in TanStack Start adobe/react-spectrum#7474
-
Live Coding TanStack Router/Start - RSCs, SSR, Streaming, and more (YouTube Video): https://www.youtube.com/watch?v=sNe2EKegNNI
Hope these are helpful.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
juliomuhlbauer created examples for TanStack Router and Start which supports i18n routing via Paraglide JS
Beta Was this translation helpful? Give feedback.
All reactions
-
Only issue with these is they don't support defaultLocale having no prefix, unless there is some way I'd love to know how.
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm interested in this as well. No prefix on default would be awesome
Beta Was this translation helpful? Give feedback.
All reactions
-
Would this help?
https://inlang.com/m/osslbuzt/paraglide-next-i18n/localized-routing/prefix-strategy#prefix-strategy-default
Beta Was this translation helpful? Give feedback.
All reactions
-
Only issue with these is they don't support defaultLocale having no prefix, unless there is some way I'd love to know how.
that's the default pattern when you use the url strategy outof the box https://inlang.com/m/gerre34r/library-inlang-paraglideJs/strategy#url
Beta Was this translation helpful? Give feedback.
All reactions
-
Here is another approach using intlayer
- Per-component approach
- Typesafe
- Three shakable
- Test and fill translation in CI
- routing & middleware
Beta Was this translation helpful? Give feedback.