General Translation CLI

CLI

General Translation's gt CLI: a wizard sets up i18n for React, Next.js and similar apps, then sends UI strings and JSON, YAML or Markdown files for AI translation and writes them back, with CI support. Needs a Node.js project and a General Translation API key (free sign-up, usage-based pricing).

generaltranslation/gt · packages/cli1.1k
Ver no GitHub
README

General Translation

Documentation · Report Bug

gt

Command-line tool for General Translation's i18n platform.

Installation

npm install gt --save-dev

Quick Start

Set up your project:

npx gt init

Generate translations:

npx gt translate

See the full documentation for guides and API reference.