Preparing for system design interviews?  Try bugzed.com →

babel-plugin-ttag

JSON →
library 1.8.16 ·javascript
verified Jun 17, 2026

babel-plugin-ttag (formerly babel-plugin-c-3po) is a Babel plugin for extracting and resolving gettext-like translations at compile time. Current stable version is 1.8.16, released periodically. It uses ES6 tagged template literals (e.g., t`hello`), works with GNU gettext .po files, and offers compile-time resolution with no runtime overhead in the browser. Key differentiators: native template syntax (no sprintf), intelligent extraction by Babel, fast feedback loop (warns on missing translations), and support for universal apps (Node.js and browser). It includes support for plurals (ngettext/msgid), contexts (tct), and JSX without additional configuration. Requires ttag runtime package as a peer dependency.

total hits 20
actors 4 distinct systems
last hit 19d ago AhrefsBot
ByteDance
7
GPTBot
4
Script
1
Humans
4

top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · 🇫🇷 France · 🇨🇦 Canada