CLI

pico-intl init

Scaffold your i18n infrastructure in seconds. Creates locale JSON files, a config file, and patches tsconfig.json.

ts
npx pico-intl init --base en --targets es,fr

Key points

  • init scaffolds locale files and config.
  • Start with a small target locale set.
  • Review generated paths before committing.

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.