{"library":"i18n-lint","type":"library","category":null,"description":"i18n-lint (v1.1.0) is a CLI and library tool for detecting hardcoded (untranslated) strings in HTML and template source files. It checks text nodes and attributes (default: alt, placeholder, title) against a list of built-in internationalization functions like `gettext()` and `i18n()`. Supports custom template delimiters (e.g., {{ }}, <%%>) for Mustache/Handlebars/EJS. Compiled with JSHint-compatible reporters and built-in default/unix/json output. Designed for Node.js >=0.8.0, with global install providing the `i18n-lint` binary. Key differentiator: it integrates linting into existing build pipelines via CLI or Node API, unlike gettext extraction tools.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","hardcoded","strings","i18n","translation","i18n-lint","lint","untranslated","detect"],"last_verified":"Fri May 01","install":[{"cmd":"npm install i18n-lint","imports":["import i18nLint from 'i18n-lint';\nconst results = i18nLint('file.html');","import { run } from 'i18n-lint/cli.js';\nrun(['file.html']);","import { Linter } from 'i18n-lint';\nconst linter = new Linter({ templateDelimiters: ['{{', '}}'] });"]},{"cmd":"yarn add i18n-lint","imports":[]},{"cmd":"pnpm add i18n-lint","imports":[]}],"homepage":"https://jwarby.github.io/i18n-lint","github":"https://github.com/jwarby/i18n-lint","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/i18n-lint","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}