react-i18next
Installation
SKILL.md
react-i18next Skill
react-i18next is the standard internationalization framework for React / React Native, built on top of i18next. This skill covers setup, configuration, all API surfaces, and common patterns.
Key mental model: i18next is the core translation engine (config, plurals, interpolation, formatting). react-i18next is the React binding layer that connects i18next to your components via hooks, HOCs, render props, and the Trans component.
Installation
npm install react-i18next i18next --save
# Common companion packages:
npm install i18next-http-backend i18next-browser-languagedetector --save
i18next Configuration (i18n.js)
Create i18n.js beside your entry point. This is the single source of truth for your i18n setup.
Related skills