Getting Started

Quick Start

Get pico-intl running in your project in under 5 minutes.

ts
import { createI18n } from '@pico-intl-dev/core';
import en from './locales/en.json';

export const i18n = createI18n({
  base: 'en',
  locale: 'en',
  messages: en,
});

Key points

  • Start with one base locale and one target locale.
  • Keep locale files as plain JSON.
  • Add CLI validation before translating at scale.

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.