release: WRNexusJS 0.8.0
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# 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.
|
||||
|
||||
```bash
|
||||
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.
|
||||
Reference in New Issue
Block a user