General Translation  
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:

npm i gt-react-cli

Usage

CommandDescription
npx gt-react-cli setupStep by step setup guide that prepares your project for translation.
npx gt-react-cli scanScans your project for translatable content. Can be used repeatedly to update your project.
npx gt-react-cli translateTranslates your project via the GT API.
npx gt-react-cli generateGenerates a new translation data JSON file. Should be used when using the library standalone.

On this page