npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

expo-plugin-app-name-localization

v0.1.1

Published

Expo config plugin to add localized app names for iOS and Android

Downloads

420

Readme

expo-plugin-app-name-localization

npm version License: MIT

An Expo config plugin that enables app name localization for iOS and Android. This plugin allows you to display different app names for different languages/regions while keeping the same app bundle.

Features

  • 🌍 Multi-language support - Localize your app name in any language
  • 📱 iOS support - Automatically configures InfoPlist.strings files
  • 🤖 Android support - Automatically configures strings.xml files
  • 🔧 Easy configuration - Simple object-based configuration
  • 📝 TypeScript support - Full type definitions included
  • Validation - Built-in locale code validation
  • 🚀 Expo SDK 47+ - Compatible with modern Expo versions

Installation

npm install expo-plugin-app-name-localization
# or
yarn add expo-plugin-app-name-localization
# or
pnpm add expo-plugin-app-name-localization

Usage

Add the plugin to your app.config.js or app.json:

app.config.js

module.exports = {
  expo: {
    // ... other config
    plugins: [
      [
        'expo-plugin-app-name-localization',
        {
          localizations: {
            en: 'My App',
            ko: '내 앱',
            ja: '私のアプリ',
            'zh-Hans': '我的应用',
            'es-ES': 'Mi Aplicación',
            fr: 'Mon Application',
            de: 'Meine App',
          },
        },
      ],
    ],
  },
};

app.json

{
  "expo": {
    "plugins": [
      [
        "expo-plugin-app-name-localization",
        {
          "localizations": {
            "en": "My App",
            "ko": "내 앱",
            "ja": "私のアプリ",
            "zh-Hans": "我的应用",
            "es-ES": "Mi Aplicación",
            "fr": "Mon Application",
            "de": "Meine App"
          }
        }
      ]
    ]
  }
}

Configuration

The plugin accepts a configuration object with the following structure:

{
  localizations: {
    [locale: string]: string
  }
}

Locale Codes

The plugin supports standard locale codes:

  • Language codes: en, ko, ja, fr, de, etc.
  • Language-Region codes: en-US, es-ES, zh-Hans, zh-Hant, etc.

Example Configurations

Basic Example

{
  localizations: {
    en: "Weather",
    ko: "날씨"
  }
}

Extended Example with Regions

{
  localizations: {
    en: "Shopping Cart",
    "en-GB": "Shopping Trolley",
    es: "Carrito",
    "es-MX": "Carrito de Compras",
    pt: "Carrinho",
    "pt-BR": "Carrinho de Compras"
  }
}

How It Works

iOS

The plugin automatically:

  1. Sets LSHasLocalizedDisplayName to true in Info.plist
  2. Creates .lproj directories for each locale
  3. Generates InfoPlist.strings files with the localized app names
  4. Adds the localization files to your Xcode project

Android

The plugin automatically:

  1. Creates values-[locale] directories in your Android resources
  2. Generates or updates strings.xml files with the localized app names
  3. Sets the default app name in the main strings.xml

Build Process

After adding the plugin, build your app:

# For development builds
expo prebuild
expo run:ios
expo run:android

# For production builds
eas build --platform ios
eas build --platform android

Testing Localizations

iOS Simulator

  1. Open Settings
  2. Go to General → Language & Region
  3. Change the iPhone Language
  4. Your app name should update accordingly

Android Emulator

  1. Open Settings
  2. Go to System → Languages & input → Languages
  3. Add and select a language
  4. Your app name should update accordingly

Troubleshooting

Plugin not working after configuration

  • Run expo prebuild --clean to regenerate native projects
  • Ensure locale codes are valid (e.g., en, en-US)
  • Check console logs for any warnings

App name not changing

  • iOS: Restart the device/simulator after changing language
  • Android: Force stop the launcher app or restart device
  • Verify the locale code matches system language settings

Build errors

  • Ensure you're using Expo SDK 47 or higher
  • Check that all dependencies are installed
  • Run npx expo-doctor to diagnose issues

TypeScript

This plugin includes TypeScript definitions. When using TypeScript, you'll get full IntelliSense support:

import { AppNameLocalizationOptions } from 'expo-plugin-app-name-localization';

const config: AppNameLocalizationOptions = {
  localizations: {
    en: 'My App',
    ko: '내 앱',
  },
};

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Taeho Kim

Acknowledgments

  • Inspired by the need for easy app name localization in Expo projects
  • Thanks to the Expo team for the excellent config plugins system

Support

If you found this plugin helpful, please consider:

  • ⭐ Starring the repository
  • 🐛 Reporting bugs
  • 💡 Suggesting new features
  • 📖 Improving documentation