i18next CLI Language Detector

JSON →
library 1.1.8 ·javascript
verified Jun 5, 2026

i18next third-party language detector for CLI applications. It detects the user's language from environment variables (LC_ALL, LC_MESSAGES, LANG, LANGUAGE) following the GNU Gettext convention. Current stable version is 1.1.8. It ships TypeScript types and requires i18next as a peer dependency. Ideal for command-line tools using i18next that need locale detection from the system environment. Unlike browser or Express detectors, this targets Node.js CLI environments.