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

@umituz/react-native-appstore-metadata

v2.0.11

Published

App Store metadata management with multi-language support, screenshot generation, and subscription handling

Readme

@umituz/react-native-appstore-metadata

App Store metadata management package with multi-language support, powered by @umituz/react-native-google-translate.

Features

  • Metadata Translation: Translate app store metadata to 40+ languages
  • Field-by-field Translation: Translate title, subtitle, keywords, description separately
  • Progress Tracking: Real-time progress updates during translation
  • Type-Safe: Full TypeScript support
  • Google Translate Integration: Uses @umituz/react-native-google-translate
  • Rate Limiting: Built-in API rate limiting
  • Error Handling: Graceful error handling with fallbacks

Features

  • Field-by-field translation: Translate each metadata field individually
  • 40+ languages: Support for 40+ locales including Turkish, German, French, etc.
  • Marketing-adapted: Maintains marketing tone and cultural appropriateness
  • Provider-agnostic: Easy to swap translation providers
  • Progress tracking: Real-time progress callbacks during translation
  • Type-safe: Full TypeScript support
  • React Native ready: Optimized for React Native applications

Installation

npm install @umituz/react-native-appstore-metadata @umituz/react-native-google-translate

Supported Languages

  • Arabic (Saudi Arabia)
  • Bulgarian
  • Chinese (Simplified & Traditional)
  • Czech
  • Danish
  • Dutch
  • English (Australia, Canada, UK, US)
  • Finnish
  • French (Canada, France)
  • German
  • Greek
  • Hindi
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Malay
  • Norwegian
  • Polish
  • Portuguese (Brazil, Portugal)
  • Romanian
  • Russian
  • Slovak
  • Slovenian
  • Spanish (Spain, Mexico)
  • Swedish
  • Thai
  • Tagalog
  • Turkish
  • Ukrainian
  • Vietnamese

Usage

Basic Usage

import { useAppStoreTranslator } from '@umituz/react-native-appstore-metadata/presentation';

function MyComponent() {
  const { translateMetadata, isTranslating, progress } = useAppStoreTranslator({
    locales: ['tr-TR', 'de-DE', 'fr-FR']
  });

  const handleTranslate = async () => {
    const metadata = {
      title: 'My Amazing App',
      subtitle: 'Do amazing things',
      keywords: ['productivity', 'tools', 'awesome'],
      description: 'This app does amazing stuff for you.',
      promotionalText: 'Download now!'
    };

    const translated = await translateMetadata(metadata, (progress) => {
      console.log(`Translating ${progress.field} to ${progress.locale}`);
    });

    console.log(translated['tr-TR'].title); // "Harikalar Diyarı Uygulamam"
  };

  return (
    <button onPress={handleTranslate} disabled={isTranslating}>
      {isTranslating ? 'Translating...' : 'Translate Metadata'}
    </button>
  );
}

Advanced Usage with Custom Provider

import { useAppStoreTranslator } from '@umituz/react-native-appstore-metadata/presentation';
import { TranslationService } from '@umituz/react-native-appstore-translator/infrastructure';
import { myCustomProvider } from './my-custom-provider';

function MyComponent() {
  const { translateMetadata } = useAppStoreTranslator({
    provider: myCustomProvider,
    locales: ['ja-JP', 'ko-KR', 'zh-CN']
  });

  // ... rest of the code
}

Type-Safe Usage

import type {
  AppStoreMetadata,
  TranslatedMetadata
} from '@umituz/react-native-appstore-translator/domain';

const metadata: AppStoreMetadata = {
  title: 'My App',
  subtitle: 'Best app ever',
  keywords: ['awesome', 'productivity'],
  description: 'Long description here...',
  promotionalText: 'Download now!'
};

// After translation
const translated: TranslatedMetadata = await translateMetadata(metadata);
console.log(translated['tr-TR'].title);

API Reference

useAppStoreTranslator

Main React hook for translation.

Options

interface UseAppStoreTranslatorOptions {
  provider?: ITranslationProvider;  // Default: GoogleTranslateProvider
  locales?: string[];               // Default: All supported locales
}

Return Value

interface UseAppStoreTranslatorReturn {
  translateMetadata: (
    metadata: AppStoreMetadata,
    onProgress?: (progress: TranslationProgress) => void
  ) => Promise<TranslatedMetadata>;
  isTranslating: boolean;
  progress: TranslationProgress[];
  error: Error | null;
}

AppStoreMetadata

interface AppStoreMetadata {
  readonly title: string;
  readonly subtitle?: string;
  readonly keywords?: string[];
  readonly description?: string;
  readonly promotionalText?: string;
}

TranslationProgress

interface TranslationProgress {
  field: string;
  locale: string;
  status: 'pending' | 'translating' | 'completed' | 'error';
  progress?: number;
  error?: Error;
}

Architecture

This package follows Domain-Driven Design (DDD) principles and depends on:

  • @umituz/react-native-google-translate: For all translation operations
  • Clean separation between metadata management and translation logic
src/
├── domain/           # Core business logic and types
├── infrastructure/   # Locale mapping, constants, metadata translation service
└── presentation/     # React hooks

Subpath Imports

This package supports subpath imports for better tree-shaking:

// Import only what you need
import { useAppStoreTranslator } from '@umituz/react-native-appstore-metadata/presentation';
import type { AppStoreMetadata } from '@umituz/react-native-appstore-metadata/domain';
import { googleTranslateProvider } from '@umituz/react-native-appstore-translator/infrastructure';

License

MIT

Author

umituz

Repository

https://github.com/umituz/react-native-appstore-metadata