# i18n Catalog Toolkit: Audit, Convert & Pseudo-Localize

> Audits, converts, and pseudo-localizes JSON, Android strings.xml, Apple .strings/.xcstrings, Gettext .po, Flutter .arb, and XLIFF catalogs offline, returning severity-ranked ICU/plural/placeholder QA reports and ready-to-ship locale files without overwriting originals.

i18n Catalog Toolkit: Audit, Convert & Pseudo-Localize is a paid AI agent skill on Agensi by ClumsyMoney, in Mobile Development. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [ClumsyMoney](https://www.agensi.io/creators/clumsymoney)
- Category: [Mobile Development](https://www.agensi.io/skills/mobile-development)
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/i18n-catalog-toolkit-audit-convert-pseudo-localize
- Tags: translation-localization, mobile-development, coding, testing-qa, automation

## About this skill

Ship localized mobile and web releases without broken builds, missing Slavic/Arabic plurals, or clipped UI layouts.

**i18n Catalog Toolkit** gives your AI agent a deterministic, 100% offline Python 3.9+ localization pipeline covering 7 major catalog formats—with zero pip installs, zero API keys, and zero data leaving your machine.

### What It Does
- **Severity-Ranked Localization Audits (`audit_i18n.py`)**: Compares source and target catalogs against Unicode CLDR 48 plural rules (48 locales), placeholder parity (`%s`, `%1$d`, `%@`, `{name}`, `{{var}}`), ICU MessageFormat apostrophe quoting, Android `aapt2` escaping, Apple `.xcstrings` states (`new`, `stale`, `shouldTranslate: false`), and GNU Gettext `#, fuzzy` entries. Exits `1` on `ERROR`/`CRITICAL` so it plugs cleanly into release gates.
- **Cross-Format Conversion (`convert_i18n.py`)**: Converts cleanly between nested/flat JSON (i18next, react-intl, next-intl), Android `strings.xml`, Apple legacy `.strings` (UTF-16/UTF-8 BOM), Apple `.xcstrings`, GNU Gettext `.po`/`.pot`, Flutter `.arb`, and OASIS XLIFF 1.2 & 2.0—with optional placeholder normalization and `--dry-run` lossiness previews.
- **Layout-Safe Pseudo-Localization (`pseudolocalize.py`)**: Generates `en-XA` (accented, bracketed, length-expanded) and `ar-XB` (RTL/bidi stress) test catalogs while strictly preserving ICU keywords, variable names, HTML tags, and printf specifiers.
- **Non-Destructive by Design**: Refuses to overwrite source catalogs in place; every converted or pseudo-localized file is written to a separate output path.

### Supported Formats
1. Nested & flat JSON (`i18next`, `react-intl`, `next-intl`)
2. Android `strings.xml`
3. Apple `.strings` (UTF-16 & UTF-8 BOM)
4. Apple String Catalogs `.xcstrings`
5. GNU Gettext `.po` / `.pot`
6. Flutter `.arb`
7. OASIS XLIFF 1.2 & 2.0

## Requires

- Python 3.9+

## Known limitations

This toolkit performs deterministic auditing, format conversion, and pseudo-localization only; it does not call machine-translation APIs to translate human prose. When converting rich Apple .xcstrings catalogs containing variations.device or substitutions into flat formats such as .strings or .po, the converter emits explicit lossiness warnings because flat formats cannot represent those structures natively.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the i18n Catalog Toolkit: Audit, Convert & Pseudo-Localize skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does this skill send my localization files to any external API or cloud service?

No. Every script runs 100% offline using the Python 3.9+ standard library. No network requests, API keys, or third-party packages are used, making it safe for unreleased product copy and private repositories.

### Which localization formats are supported?

It supports 7 formats out of the box: nested and flat JSON (i18next, react-intl, next-intl), Android strings.xml, Apple legacy .strings (UTF-16 and UTF-8 BOM), Apple String Catalogs (.xcstrings), GNU Gettext .po/.pot, Flutter .arb, and OASIS XLIFF 1.2 and 2.0.

### How accurate are the plural checks across non-English languages?

Plural audits are grounded in Unicode CLDR 48 rules for 48 locales, distinguishing required vs. extended categories and catching subtle production bugs such as missing Slavic/Baltic few or many branches and omitted numeric placeholders in one-plural forms that match 21, 31, and 41.

### Will converting or pseudo-localizing overwrite my original locale files?

No. Both convert_i18n.py and pseudolocalize.py enforce non-destructive output and refuse to overwrite the input path. You can also pass --dry-run to preview changes and format-lossiness warnings before writing any files.

### What do I need installed to run this skill?

Only Python 3.9 or newer. There are no pip dependencies, Node toolchains, or external binaries required.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
