Overview
This guide shows how to integrate Unlingo with React applications using i18next, one of the most popular internationalization frameworks. You’ll learn how to set up a custom backend that fetches translations from Unlingo and integrates seamlessly with i18next.Prerequisites
- React application
- Basic knowledge of React hooks
- An Unlingo project with translations
Installation
Install the required dependencies:Setting Up the Unlingo Backend
Create a custom i18next backend that fetches translations from Unlingo:Configuring i18next
Set up i18next with the Unlingo backend:Environment Variables
Add your Unlingo credentials to your environment file:.env.local
Initializing in Your App
Import and initialize i18next in your main App component:Next Steps
next-intl
Integrate applications with next-intl
Get Translation
Explore the API reference
