Skip to content
Back to skills

Internationalization

ASecurity

In an aidd repository, use when code touches translations, locales, BCP 47 tags, ICU messages, plurals, time zones, currencies, right-to-left text, or Unicode.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 6, 2026
ai-agentsjavascriptpythongojavagitdatabasedocumentation

Works with

  • cli

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add thaithienvanid/aidd --skill internationalization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Internationalization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Internationalization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thaithienvanid-internationalization/badge)](https://www.skillsdirectory.com/skills/thaithienvanid-internationalization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: internationalization
description: "In an aidd repository, use when code touches translations, locales, BCP 47 tags, ICU messages, plurals, time zones, currencies, right-to-left text, or Unicode."
---

<!-- generated by `aidd gen-docs` from schemas/packs.json; edit the registry, not this file -->

# Internationalization

## Scope

Applies when the change touches more than one language or region. Not when the product ships one language to one region, and the i18n-ready default covers it. Neighbours: `aidd-domains:web-front-end`, `aidd-team:product-defaults`, `aidd-team:technical-writing`.

## Standards

| # | Standard | Edition | Checked | Source |
| --- | --- | --- | --- | --- |
| S1 | Unicode CLDR | CLDR 49 | 2026-10-22 | <https://cldr.unicode.org/> |
| S2 | BCP 47 language tags | RFC 5646, 2009 | 2026-10-16 | <https://www.rfc-editor.org/rfc/rfc5646> |
| S3 | ICU MessageFormat, with MessageFormat 2 where the runtime has it | MessageFormat 2.0 (LDML 49) | 2026-10-22 | <https://unicode-org.github.io/icu/userguide/format_parse/messages/mf2.html> |
| S4 | W3C internationalization best practices | — | 2026-10-16 | <https://www.w3.org/International/techniques/authoring-html> |
| S5 | Translated documentation: XLIFF for exchange, gettext for source strings, and a translation memory that keeps glossary terms stable | XLIFF Core 2.1 | 2026-10-16 | <https://docs.oasis-open.org/xliff/xliff-core/v2.1/xliff-core-v2.1.html> |
| S6 | IANA Time Zone Database (tzdata) | 2026e | 2026-10-16 | <https://www.iana.org/time-zones> |
| S7 | Unicode Bidirectional Algorithm (UAX #9) | Revision 52 (Unicode 18.0.0) | 2026-10-16 | <https://www.unicode.org/reports/tr9/> |
| S8 | ISO 4217 currency codes and minor units | ISO 4217:2015 | 2026-10-16 | <https://www.iso.org/iso-4217-currency-codes.html> |

### Open choices

The team decides these. aidd's default holds until a `standards` entry fills one (`aidd standard list`).

| Choice | Question | aidd's default | Options |
| --- | --- | --- | --- |
| `i18n-library` | Which library formats the messages, plurals, dates, and numbers of the user interface? | The framework's own i18n support. Else ICU MessageFormat through FormatJS on JavaScript, gettext with Babel on Python, and ICU4J on the JVM. | FormatJS, i18next, Lingui, gettext, ICU4J, Fluent |
| `translation-management` | Where do translators work on the message catalogs? | The catalogs in the repository, exchanged as XLIFF, until the volume of strings or translators needs a translation management system. | catalogs in the repository, Weblate, Crowdin, Lokalise, Phrase |

## Checklist by loop step

| Step | Item | Standard |
| --- | --- | --- |
| Before the first edit (`aidd risk --paths`) | A change that adds or reorders user-visible text, or formats dates, numbers, or names, touches every locale. A market's language law, such as Quebec's Charter of the French Language, can make a locale required. | S1 |
| Before the first edit (`aidd risk --paths`) | Product defaults (`i18n_ready`): build each one `project.defaults.disabled` does not name, as `aidd-team:product-defaults` says. | — |
| Specify | The locales in the Acceptance; text expansion, right-to-left, and pluralization cases named; the CLDR version the runtime ships, pinned. | S2, S3, S1 |
| Specify | A currency amount carries its ISO 4217 code and shows in the locale's format. Its storage in minor units is `aidd-domains:payments-and-finance`'s. | S8, S1 |
| Implement | No concatenated strings; ICU MessageFormat for plurals and gender (MessageFormat 2 only where the runtime's is stable); locale-aware formatting from CLDR; UTF-8 end to end. | S3, S1 |
| Implement | Instants are stored in UTC. A future event at a local wall-clock time is stored as that local time plus its IANA zone id, so a rule change does not move it. The tz data comes from a pinned, updated source, never a hand-kept offset table. | S6 |
| Implement | Text is compared after Unicode normalization (NFC), sorted with the locale's collation, and cut at grapheme boundaries. Case changes use the locale, as the Turkish dotless i needs. | S1 |
| Review | No hard-coded locale, time zone, or encoding. User-supplied text is isolated (`dir=auto`, `<bdi>`, or FSI and PDI), so the bidi algorithm does not reorder what surrounds it. Pseudo-localization passes. | S4, S7 |
| Roll out | Translation coverage per locale tracked; a missing string falls back visibly, never silently. | S5 |

## Test commands

| Command | Proves | How | Standard |
| --- | --- | --- | --- |
| Pseudo-localization build | no truncation or concatenation in any screen | a pseudo-locale build in CI from the team's `i18n-library`, by default FormatJS: `npx @formatjs/cli@6.16.32 compile lang/en.json --pseudo-locale xx-LS --out-file lang/xx-LS.json`, or `pseudo-localization` (3.1.3) | S4 |
| Message-format lint | every message parses and has complete plural categories | the team's `i18n-library` linter, by default FormatJS: `npx @formatjs/cli@6.16.32 verify "lang/*.json" --source-locale en --missing-keys --structural-equality` | S3 |
| Locale snapshot tests | dates, numbers, currencies, and names format per locale | snapshot tests over the supported locales | S1 |
| RTL layout tests | the changed screens mirror correctly | screenshot tests in an RTL locale | S4, S7 |
| Time-zone tests | local times stay right across DST changes and zone rule updates | unit tests at each DST transition of the supported zones, run against the pinned tz data | S6 |
| Translation coverage | every key exists in every shipped locale | a coverage check over the message catalogs | S5 |

## Owned elsewhere

- Money amounts stored in minor units: `aidd-domains:payments-and-finance`.

## Keep it current

Each entry is due after its `review_every_days` (else emerging 90 days, established 365) or by its `review_due`. An emerging one applies only when the change needs it, said in the Spec. One `aidd eval standards` lists as due is looked up in Specify, and a missing one is proposed to aidd's `schemas/industry-standards.json`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.