Skip to content

Cyenoch/expo-android-localized-app-name

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

About

Support a localized application name with expo on Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%