Live example

A live pico-intl formatter

Change the inputs and watch the same locale catalog resolve select, plural, interpolation, and native Intl formatting.

Controls
Live output

pico-intl.t()

Maintainer reviewing 2 locales

Hello Ana. This Astro page is using pico-intl.

Published package price: $29.00

Rendered on May 15, 26

Runtime call
i18n.t('playground.card.title', { role: 'maintainer', count: 2 })
json
{
  "title": "{{role, select, maintainer{Maintainer} other{Visitor}}} reviewing {{count}} locale | {{role, select, maintainer{Maintainer} other{Visitor}}} reviewing {{count}} locales",
  "price": "{price, number, ::currency/USD}",
  "release": "{date, date, ::yMMMd}"
}