What would the best approach be to have a website that can be translated for different countries?

I have a site that is gaining some traction from all over the globe, right now all my text content is english. How would I ensure its translatable for all users?
9 Replies
s☻d
s☻dOP2y ago
Im using NextJS if that effects any ideas
Neto
Neto2y ago
i18n
Neto
Neto2y ago
Routing: Internationalization
Add support for multiple languages with internationalized routing and localized content.
s☻d
s☻dOP2y ago
So I saw that, and what I didn't really understand was if that was just for the data being sent back from my api routes that would be translated? I guess to be more specific all the content I want translated is inside the HTML and components, its not being fetched
Neto
Neto2y ago
with server components, you can just send direct translated html with "classic" components, you will need the react approach to i18n
s☻d
s☻dOP2y ago
Im not on server components currently Alrighty
s☻d
s☻dOP2y ago
thank you for the pointers
Neto
Neto2y ago
glad to help
Want results from more Discord servers?
Add your server