Skip to content
Skill

I18n strings and catalogs

Puts all app UI text into per-language catalogs with plurals and checks that they stay

I18n strings and catalogs is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript, TypeScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
16
Last commit
License
MIT
Listing updated

Similar skills

About I18n strings and catalogs

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).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 117 files (648 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/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:

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

I18n strings and catalogs 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.

More from zakariaf/ReactNative-Skills

  1. Turns canvas taps, swipes and drags into typed intents hit-tested on the drawn layout

    • Open source
    • 16 GitHub stars
    • Developer tools
  2. Adds a gated debug menu, debug deep link and simulated clock and offline mode to React

    • Open source
    • 16 GitHub stars
    • Developer tools
  3. Checks React Native code for accessibility labels, touch targets, text scaling

    • Open source
    • 16 GitHub stars
    • Developer tools
  4. Sells a one-time Premium unlock through the App Store and Google Play

    • Open source
    • 16 GitHub stars
    • Finance and payments
  5. Walks an Expo app through an SDK, Xcode or Android toolchain upgrade in one commit

    • Open source
    • 16 GitHub stars
    • Developer tools
  6. Builds React Native forms with one valibot schema, catalog-key errors and keyboard-aware

    • Open source
    • 16 GitHub stars
    • Developer tools