Svelte Hacker News logo
  • top
  • new
  • show
  • ask
  • jobs
  • about

Show HN: Intlayer – Lightweight Internationalization for Preact

intlayer.org

1 points by aypineau 12 hours ago

We just adapted our lightweight internationalization solution for Preact. It supports per-component translations that are dynamically loaded, so only visible content is fetched – keeping bundles lean.

Example bundle sizes:

Preact + Intlayer: 120 KB

Preact support is handled via a new npm package, preact-intlayer.