React SSR
Magic Translate fully embraces React Server Components (RSC)
Getting Started
Install the react SSR client for Magic Translate in your application.
Now it's time to configure your Magic Translate SSR client and the <T>
component
Now you can use the translate component <T>
in any React server component.
And that's basically it! You can now translate your application effortlessly into over 70 languages 🤯
Changing Languages
To change the current language all you have to do is change the lang
prop of the <T>
component.
Example project
Last updated