Files
WRNexusJS/examples/i18n-showcase
ClintchizandClaude Opus 5 afa2a8c093 chore(deps): move packages to TypeScript 6.0.3
Raises the typescript devDependency across the workspace, bumps package
versions, re-adds ignoreDeprecations, and repoints the @wrnexus registry.

These were pre-existing working-tree changes, committed as-is rather than
authored here. The .npmrc change redirects @wrnexus publishes from
registry.npmjs.org to registry.workroot.in — confirm that is intended
before publishing from this branch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 19:16:34 +05:30
..
2026-08-02 23:18:51 +05:30
2026-08-02 23:18:51 +05:30

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 wrn-lang cookie. The /api/formats endpoint demonstrates request-aware Intl formatting using the same selected locale.