News for hackers. Stuff that matters.

Show HN: Intlayer – Lightweight Internationalization for Preact

https://intlayer.org/doc/environment/vite-and-preact

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.

( no comments | on HN )

There are no comments yet.