expo-per-app-language
v1.1.0
Published
`expo-per-app-language` is a config plugin that lets you define the supported languages for your Expo app, enabling users to choose their preferred language directly from the app settings.
Readme
Expo Per App Language
expo-per-app-language is a config plugin that lets you define the supported languages for your Expo app, enabling users to choose their preferred language directly from the app settings.
Installation
npx expo install expo-per-app-languageConfiguration in app config
{
"expo": {
"plugins": [
[
"expo-per-app-language",
{
"languages": [
"en",
"fr"
]
}
]
]
}
}Options for Android and iOS can be specified separately:
{
"expo": {
"plugins": [
[
"expo-per-app-language",
{
"languages": {
"ios": ["en", "fr"],
"android": ["en", "fr"]
}
}
]
]
}
}[!NOTE] On Android, refer to the locale naming guidelines and the list of most commonly used locales. On iOS, use the language name or ISO language designator.
Example
🍎 iOS
https://github.com/user-attachments/assets/d4131b9b-d04e-4e9a-b9b3-ff12a92d0f1d
🤖 Android
https://github.com/user-attachments/assets/0a81104b-b98b-4cd9-87a1-41e49df51814
