lucasferreiralimax
released this
27 Jun 00:52
·
16 commits
to master
since this release
Initial Release
The initial release of app-internationalization
, a demonstration app that showcases how to implement internationalization (i18n) in a React Native application using react-i18next
.
Features
-
Multilingual Support:
- The app currently supports the following languages:
- English (en-US)
- Brazilian Portuguese (pt-BR)
- Russian (ru-RU)
- Chinese (zh-CN)
- Spanish (es-ES)
- Italian (it-IT)
- Hindi (hi-IN)
- The app currently supports the following languages:
-
Language Component:
- Users can easily switch between different languages by clicking on the corresponding country flags displayed in the
Language
component.
- Users can easily switch between different languages by clicking on the corresponding country flags displayed in the
-
Persistent Language Selection:
- The selected language is persisted using
AsyncStorage
, ensuring that users' language preferences are saved across app restarts.
- The selected language is persisted using
-
Device Localization:
- Utilizes
expo-localization
to detect and set the app's language based on the device's locale settings, providing a seamless and localized user experience from the first launch.
- Utilizes
How to Use
-
Switching Languages:
- Navigate to the language selection screen and click on any country flag to change the app's language.
-
Persistent Language:
- The app remembers your language preference, so you don't have to reset it every time you open the app.
-
Default to Device Locale:
- On the first launch, the app will default to the device's locale if no language preference has been set previously.