# I18n strings and catalogs

> I18n strings and catalogs is an open-source agent skill for developer tools. Puts all app UI text into per-language catalogs with plurals and checks that they stay. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/zakariaf/ReactNative-Skills/tree/main/skills/i18n-strings-and-catalogs
- **Repository:** https://github.com/zakariaf/reactnative-skills
- **GitHub stars:** 16
- **License:** MIT
- **Skill name:** i18n-strings-and-catalogs
- **Collection:** https://github.com/zakariaf/ReactNative-Skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill moves every visible and spoken string of a React Native app into react-intl message catalogs, one flat JSON file per language. It sets rules for keys, ICU plurals that follow each language's CLDR categories, number and date formatting, and bidi isolation of free text. It also covers the runtime layer: a provider, a translation hook and a component, language resolution from the saved choice and device locales, and native permission texts and app name read from the catalogs.

The skill ships templates for the i18n source folder, the app entry file and Jest tests, plus Node checkers that validate catalog parity, plural categories and literal text in source code. A review queue records machine or drafted translations for a fluent reader without blocking the build, and a copy-source file lets approved wording be synced into catalogs byte for byte.

It expects a React Native app built with Expo and Expo Router, with react-intl and FormatJS polyfills installed, and Node available to run the checkers. Its guidance covers Hermes gaps in Intl APIs, so the same behaviour is reproduced in Jest and on device.

## When your agent uses it

> Puts all visible text in react-intl catalogs - semantic keys, CLDR plurals, Intl polyfills, parity. Use when adding UI text or a hard-coded string, a message key, a plural, a translation or a language (i18n). Not for RTL (rtl-and-direction).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript and TypeScript scripts](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/i18n-strings-and-catalogs)
- [No network calls found in its scripts](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/i18n-strings-and-catalogs)
- [License: MIT](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/i18n-strings-and-catalogs)

## Features

- **Catalog layout and parity:** Keeps one flat catalog per declared language with identical, sorted keys and BCP 47 file names.
- **Plural and number rules:** Requires ICU plurals with each language's CLDR categories and typed number placeholders.
- **Polyfill setup:** Forces FormatJS locale, plural and number data at app startup and in Jest setup.
- **Language resolution:** Picks the language from the saved choice, then device locales, with a source-language fallback.
- **Literal text checker:** Scans source for hard-coded text in JSX, props, alerts, navigation options and notifications.
- **Review and copy sync:** Queues drafted translations for review and syncs approved copy into catalogs.

## Good for

- Add a translated plural message for a counted item
- Check that every language catalog has the same keys
- Find hard-coded English strings left in screens
- Set up react-intl and polyfills in an Expo app
- Show permission purpose text in every declared language
- Format a time of day in a specific time zone and numbering system

## Install

### Claude Code

This skill ships in the `react-native` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skills
```

Or copy only this skill to `~/.claude/skills/i18n-strings-and-catalogs`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/i18n-strings-and-catalogs &&
cp -R "$tmp/skills/i18n-strings-and-catalogs" ~/.claude/skills/i18n-strings-and-catalogs &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/i18n-strings-and-catalogs` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/i18n-strings-and-catalogs` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/i18n-strings-and-catalogs &&
cp -R "$tmp/skills/i18n-strings-and-catalogs" ~/.agents/skills/i18n-strings-and-catalogs &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/i18n-strings-and-catalogs` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/i18n-strings-and-catalogs` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/i18n-strings-and-catalogs &&
cp -R "$tmp/skills/i18n-strings-and-catalogs" ~/.cursor/skills/i18n-strings-and-catalogs &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/i18n-strings-and-catalogs` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/i18n-strings-and-catalogs
```

Or copy the folder to `~/.gemini/skills/i18n-strings-and-catalogs` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/i18n-strings-and-catalogs`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/i18n-strings-and-catalogs &&
cp -R "$tmp/skills/i18n-strings-and-catalogs" ~/.copilot/skills/i18n-strings-and-catalogs &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/i18n-strings-and-catalogs` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git
```

Then copy `ReactNative-Skills/skills/i18n-strings-and-catalogs` into your agent's skills folder as `i18n-strings-and-catalogs`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to be installed?

It expects react-intl and the four FormatJS intl polyfills, expo-localization for Expo apps, and Node to run the checker scripts. Dev tooling includes @formatjs/cli.

### Does I18n strings and catalogs add a fallback to the source language at runtime?

No. A missing key is reported to onError rather than silently falling back to the source language.

### When should I18n strings and catalogs be used instead of the RTL skill?

It covers text and translations. Layout direction and mirroring are handled by the separate rtl-and-direction skill.

### Which languages does I18n strings and catalogs support?

Languages are whatever the app lists in its languages file. Regional and script tags such as pt-BR and zh-Hant are supported.

### How do I install I18n strings and catalogs in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/i18n-strings-and-catalogs to use it in all your projects, or to .claude/skills/i18n-strings-and-catalogs in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.

### Does I18n strings and catalogs run scripts?

Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use I18n strings and catalogs?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to I18n strings and catalogs?

The closest alternatives to I18n strings and catalogs are I18n edho ferdian, Intlayer react, Expo prebuild and config plugins, Adaptive layout and Expo native UI.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [I18n edho ferdian](https://ai-powered.com/skills/i18n-edho-ferdian): I18n edho ferdian is an open-source agent skill for developer tools.
- [Intlayer react](https://ai-powered.com/skills/intlayer-react): Intlayer react is an open-source agent skill for developer tools.
- [Expo prebuild and config plugins](https://ai-powered.com/skills/expo-prebuild-and-config-plugins): Expo prebuild and config plugins is an open-source agent skill for developer tools.
- [Adaptive layout](https://ai-powered.com/skills/adaptive-layout): Adaptive layout is an open-source agent skill for developer tools.
- [Expo native UI](https://ai-powered.com/skills/expo-native-ui-scaledockhq): Expo native UI is an open-source agent skill for developer tools.
- [Vercel react native skills](https://ai-powered.com/skills/vercel-react-native-skills): Vercel react native skills is an open-source agent skill for cloud and infrastructure.
- [Architecture and boundaries](https://ai-powered.com/skills/architecture-and-boundaries): Architecture and boundaries is an open-source agent skill for developer tools.
- [Forms and input](https://ai-powered.com/skills/forms-and-input): Forms and input is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/i18n-strings-and-catalogs
