Skip to content
项目

关于

适用于各种框架的全栈本地化

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
+3
15天
+13
1个月
+32

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文
General Translation

General Translation

General Translation NPM version MIT 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

Package Description
gt-next Automatic i18n for Next.js
gt-react Automatic i18n for React
gt-vue Lightweight i18n for Vue
gt-i18n Pure JavaScript i18n library
gt 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/react-core-linter ESLint 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.

探索相关项目

加载中…