gettext.js

JSON →
library 2.1.1 ·javascript maintenance
verified May 1, 2026

Browser-side GNU gettext implementation for internationalization (i18n). Current stable version is 2.1.1. Provides a `gettext`-like interface in the browser, compiles MO files to JavaScript, includes a webpack loader for MO files, and supports plural forms with `ngettext`. Key differentiators: lightweight, browser-focused, integrates with webpack, and offers both runtime API and pre-compilation. Compared to i18next or Polyglot, gettext.js is closer to the GNU gettext workflow and simpler for projects already using MO files. Release cadence: occasional maintenance updates, as last release was several years ago.

total hits 9
actors 3 distinct systems
last hit 4d ago AhrefsBot
MetaBot
3
GPTBot
2
Humans
1

top countries 🇺🇸 United States · 🇨🇦 Canada · SA