README.md

May 6, 2026 · View on GitHub

General Translation

General Translation

General Translation NPM version License Join the community on Discord

Getting Started

npx gt@latest

General Translation is a fully integrated suite of internationalization (i18n) tools for React apps. Translate entire React components—not just strings—with a simple <T> wrapper. No refactoring into dictionaries. Just write your content and let GT handle the rest.

Documentation

Visit https://generaltranslation.com/docs to view the full documentation.

Packages

PackageDescription
gt-nextAutomatic i18n for Next.js
gt-reactAutomatic i18n for React
gt-i18nPure JavaScript i18n library
gtCLI tool for continuous localization
gt-sanityPlugin for Sanity Studio v3
locadexAI agent for automating i18n in complex codebases
generaltranslationCore TypeScript library (internal)
@generaltranslation/compilerBuild plugin for webpack, Vite, Rollup, esbuild
@generaltranslation/mcpMCP server for General Translation
@generaltranslation/react-core-linterESLint plugin for React Core integration

Quick Start

Run the setup wizard:

npx gt@latest

Or use Locadex to set your project up for you.

Community

The team can be found on Discord where you can ask questions, voice ideas, and share your projects.

You can also open discussions on GitHub.

Contributing

Contributions to General Translation are welcome and highly appreciated. Before getting started, please review our contribution guidelines to ensure a smooth experience.