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☻d12mo ago
Im using NextJS if that effects any ideas
Neto
Neto12mo ago
i18n
Neto
Neto12mo ago
Routing: Internationalization
Add support for multiple languages with internationalized routing and localized content.
s☻d
s☻d12mo 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
Neto12mo 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☻d12mo ago
Im not on server components currently Alrighty
s☻d
s☻d12mo ago
thank you for the pointers
Neto
Neto12mo ago
glad to help