{"library":"i18n","type":"library","category":null,"description":"A lightweight Node.js translation module that stores language files in JSON format, supporting dynamic on-the-fly string addition. Current stable version is 0.15.3 (last updated July 2024), with a moderate release cadence. Key differentiators include simplicity (no extra parsing), integration with Express via middleware, and support for both singleton and instance patterns. It provides common __('...') syntax for translation lookups, automatic locale detection from Accept-Language headers, and CLI/script usage. Unlike more complex solutions like i18next, this library is minimal with no external dependencies, but it lacks features like pluralization, interpolation, and loading from remote backends.","language":"javascript","status":"active","version":"0.15.3","tags":["javascript","template","i18n","l10n"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install i18n","imports":["import { I18n } from 'i18n'","const i18n = require('i18n')","const i18n = require('i18n')"]},{"cmd":"yarn add i18n","imports":[]},{"cmd":"pnpm add i18n","imports":[]}],"homepage":"http://github.com/mashpie/i18n-node","github":"ssh://git@github.com/mashpie/i18n-node","docs":null,"changelog":null,"pypi":null,"npm":"i18n","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}