@cm4ker/expo-android-localized-app-name
v1.0.4
Published
Support a localized application name with expo on Android
Downloads
4
Readme
expo-android-localized-app-name
Support a localized application name with expo on Android
Usage
yarn add -D @mmomtchev/expo-android-localized-app-name
Then add to your app.config.js
:
import withAndroidLocalizedName from '@mmomtchev/expo-android-localized-app-name';
export default {
name: 'my app',
locales: {
fr: './fr.json'
},
ios: {
// iOS support is built-in in expo
infoPlist: {
CFBundleAllowMixedLocalizations: true
}
},
plugins: [
withAndroidLocalizedName
]
};
Your fr.json
should look like:
{
"CFBundleDisplayName": "mon app", // iOS
"app_name": "mon app" // Android
}