CLI

import / export

Convert between pico-intl's native JSON format and industry-standard translation formats.

ts
npx pico-intl import --from i18next --input ./locales
npx pico-intl export --to react-intl --output ./translations

Key points

  • Import/export targets plain JSON-style catalog workflows.
  • Review complex plural/select output after migration.
  • Keep migration changes small and auditable.

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.