https://github.com/livresaber/app-internationalization
App React Native and Expo with i18n example implementation
https://github.com/livresaber/app-internationalization
expo hacktoberfest i18n react react-native
Last synced: about 1 year ago
JSON representation
App React Native and Expo with i18n example implementation
- Host: GitHub
- URL: https://github.com/livresaber/app-internationalization
- Owner: livresaber
- Created: 2024-06-26T21:45:52.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-08T07:57:13.000Z (over 1 year ago)
- Last Synced: 2025-02-17T11:35:23.936Z (over 1 year ago)
- Topics: expo, hacktoberfest, i18n, react, react-native
- Language: TypeScript
- Homepage: https://dev.to/lucasferreiralimax/i18n-in-react-native-with-expo-2j0j
- Size: 1.39 MB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# app-internationalization
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](https://dev.to/lucasferreiralimax/i18n-in-react-native-with-expo-2j0j).
## Features
- **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.
### Prerequisites
- Node.js
- Expo CLI (if using Expo)
## Get started
1. Install dependencies
```bash
npm install
```
2. Start the app
```bash
npx expo start
```
## Learn More
### :performing_arts: Com quem você pode conversar sobre o projeto?
#### Who can you talk to about the project?
#### ¿Con quién puedes hablar sobre el proyecto?
#### С кем вы можете поговорить о проекте?
#### 誰がプロジェクトについて話すことができますか?
#### À qui pouvez-vous parler du projet?
#### Projeyle ilgili kim konuşabilirsin?
#### 你能谈谈这个项目吗?
* :ghost: @lucasferreiralimax
* :email: lucasferreiralimax@gmail.com