Skip to content

generaltranslation/gt

Repository files navigation

General Translation

General Translation

General Translation NPM version License Join the community on Discord

Getting Started

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

Package Description
gt-next Automatic i18n for Next.js
gt-react Automatic i18n for React
gt-i18n Pure JavaScript i18n library
gtx-cli CLI tool for continuous localization
gt-sanity Plugin for Sanity Studio v3
locadex AI agent for automating i18n in complex codebases
generaltranslation Core TypeScript library (internal)
@generaltranslation/compiler Build plugin for webpack, Vite, Rollup, esbuild
@generaltranslation/mcp MCP server for General Translation
@generaltranslation/react-core-linter ESLint plugin for React Core integration

Quick Start

Run the setup wizard:

npx gtx-cli@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.