637 B
637 B
WRNexus i18n showcase
A complete English, Hindi, and Marathi example covering SSR translations, translated attributes, interpolation, plural rules, numbers, INR currency, percentages, dates, relative time, lists, fallback chains, browser language negotiation, and cookie-persisted language selection.
bun install
bun run --cwd examples/i18n-showcase dev
Open http://localhost:3000, change the language with the packaged LanguageSwitcher, and inspect
the document <html lang> attribute and wire-lang cookie. The /api/formats endpoint demonstrates
request-aware Intl formatting using the same selected locale.