CLI

pico-intl validate

Checks every locale file against the base locale, reporting missing keys, extra keys, and placeholder mismatches.

ts
npx pico-intl validate --strict

Key points

  • validate compares target locales against the base locale.
  • Strict mode should fail CI on missing keys or placeholder mismatches.
  • Run it before translation handoff.

Next step

Copy the example into a small fixture, run the validation commands, and keep framework-specific routing, hydration, or SSR behavior covered by your app tests.