This is an example React Native application that demonstrates how to implement internationalization (i18n) using react-i18next
. The app allows users to switch between different languages by clicking on corresponding country flags, and it persists the selected language locally for a consistent user experience across app restarts.
For more details, check out the article on Dev.to.
- Internationalization with i18next: Leverages
react-i18next
for seamless language management. - Persistent Language Selection: Uses
AsyncStorage
to save the user's language preference. - Locale Fallback: Defaults to the device's locale if no language preference is saved.
- Easy Language Switching: Users can switch languages by tapping on country flags.
- Node.js
- Expo CLI (if using Expo)
-
Install dependencies
npm install
-
Start the app
npx expo start
- 👻 @lucasferreiralimax
- 📧 [email protected]