CLI tool for AI-powered i18n (wrapper for gt). Current stable version: 2.14.19. Active development. Key differentiators: leverages General Translation's AI for automated localization workflows. Alternative to manual i18n tooling, integrates with gt ecosystem.
npm install gtx-cliVerified import paths — ran on the pinned version, not inferred.
Example of using gtx-cli to run translation on locale files with API key.
Update import to named export: import { gtx } from 'gtx-cli'Replace `cli` with `runGtx`
Use `import` syntax and ensure your project supports ESM.
Switch to `import { gtx } from 'gtx-cli'` and set `"type": "module"` in your package.json, or use dynamic import().Use `import { gtx } from 'gtx-cli'` instead of `import gtx from 'gtx-cli'`.