A plugin for ilib-lint that checks Python resources using the GNU gettext library. It parses PO files and validates printf-style substitution parameters (like %s, %d) in source and target strings, ensuring parameters match and are properly numbered for translation. Current stable version is 2.0.4, with patch releases under the ilib-mono monorepo. Integrates with ilib-loctool-po for heavy lifting. Designed for ESM environments with Node.js >=12.
npm install ilib-lint-python-gnuNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the plugin, adds it to ilib-lint config, and verifies it loads correctly.
Upgrade Node.js to version 12 or later.
Use ilib-lint version 2.x or higher.
Run 'npm install --save-dev ilib-loctool-po' alongside this package.
Switch to ESM: use import statements or set 'type': 'module' in package.json.
Install the missing peer: npm install --save-dev ilib-loctool-po.
Ensure the plugin key in config is 'python-gnu' (not 'ilib-lint-python-gnu').