React CLI Tool
Introduction
React CLI tool
Overview
The gt-react-cli
is a command-line interface (CLI) for managing your React application's translations.
Installation
To install gt-react-cli
, run the following command:
Usage
Command | Description |
---|---|
npx gt-react-cli setup | Step by step setup guide that prepares your project for translation. |
npx gt-react-cli scan | Scans your project for translatable content. Can be used repeatedly to update your project. |
npx gt-react-cli translate | Translates your project via the GT API. |
npx gt-react-cli generate | Generates a new translation data JSON file. Should be used when using the library standalone. |