Hacker News new | ask | show | jobs
Show HN: Intlayer – Lightweight Internationalization for Preact (intlayer.org)
1 points by aypineau 377 days 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.