Skip to content
Projects

yiheng8023/antigravity-chinese

View on GitHub

About

Google Antigravity 全生态中文本地化套件 | Universal Chinese localization suite for Google Antigravity ecosystem (Desktop 2.0, IDE & Extensions, CLI, Plugins).

AI & Machine Learning

How these counts are measured

Measured star growth

in 24h
+6
in 7 days
+15
in 15 days
+109
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

Community Chinese Localization for Google Antigravity

CI status Latest release Release asset downloads GitHub stars GitHub forks Minimum Node.js version is 18 CI platforms are Windows, macOS, and Linux MIT license

简体中文 | English

Source version v3.3.70 targets Antigravity App 2.38.0 / VS Code extension 1.14.0. This update localizes the voice picker, call markers and feedback, cloud automation credential expiry, plugin OAuth connection prompts, and computer preview status and privacy messages.

This community project provides local Chinese patches, backup and restore for the desktop app and VS Code extension, plus an optional Chinese interaction plugin. Verified summaries from the Google and partner catalogs use the same translation in Featured, Marketplace, Installed, plugin details, and settings. Plugin names, publisher-authored command and skill instructions, custom content, and unmatched fields retain their original text. See the 2.35.0 maintenance record for UI and installation coverage and the Linux portable installation record for portable path support.

VS Code extension updates overwrite the local patch. After an extension update, rerun node cli.js install:vscode and reload the VS Code window.

Support and verification

Surface Implementation Verified scope
Antigravity App ASAR preload, native menu/dialog text, versioned backup and restore See the maintenance record for the Windows x64 2.38.0 frontend review and candidate checks. See the portable installation record for the Linux x64 2.33.0 lifecycle.
VS Code extension Manifest, native menu and notification translation, local Webview proxy, separate backup/restore Installation, repeat installation and restore passed on a copy of 1.14.0 on Windows. See the 1.13.0 maintenance record for the live UI checks.
Community Chinese plugin Chinese interaction rules and maintenance diagnostics Optional, maintained by the antigravity-chinese community
Standalone IDE and other IDE extensions No dedicated localization installer No adaptation claim
Antigravity CLI Preserves upstream behavior CLI binaries and terminal UI are unchanged

See the 2.38.0 maintenance record for verification details. Gradually rolled-out features depend on account availability.

Installation and use

Requires Node.js >=18 and npm/npx. Initial dependency or ASAR-tool installation may need network access. Save work and exit the client normally, then run from the repository:

npm install
node cli.js install

install detects the desktop app and VS Code extension and handles installed components. Windows users can run install.bat; macOS/Linux users can run bash install.sh. These wrapper scripts also install the optional community plugin.

macOS desktop updates. The localization installer applies a local ad-hoc signature to the app. An Apple Silicon user updating from 2.33.1 to 2.34.0 reported that the update downloaded but failed signature verification during installation. If this happens, save your work, quit the app and reinstall the complete Antigravity App from the official DMG. Launch it and confirm the version before applying a compatible localization patch. Restoring app.asar alone cannot restore Google's signature for the whole app. Official download · Reproduction in #12

node cli.js status
node cli.js install:vscode
node cli.js status:vscode
node cli.js restore:vscode
node cli.js install-plugin
node cli.js uninstall-plugin
node cli.js restore
node cli.js help

restore attempts desktop and detected VS Code restoration and removes this project's global plugin. With --path, it restores only the specified target. It fails when a valid pristine backup is unavailable. Keep installer-generated backups and reassess compatibility after official updates.

Custom targets:

node cli.js install --path "<installation directory or app.asar>"
node cli.js install:vscode --path "<extension directory>"

On Linux, install:vscode, status:vscode, and restore:vscode also check ~/.vscode-server/extensions. If both locations contain the extension, ~/.vscode/extensions takes precedence. To select the remote copy explicitly, run the command in the remote terminal with --path set to its extension directory.

On Linux, the detector also looks under ~/Applications/Portable, under ~/Applications, and beside the toolkit checkout. It accepts Antigravity, antigravity, and the official extracted directory for the current architecture (Antigravity-x64 or Antigravity-arm64). Pass --path to select a specific copy when several are installed.

bash install.sh --path "$HOME/Applications/Portable/Antigravity"
bash uninstall.sh --path "$HOME/Applications/Portable/Antigravity"

install.sh also installs the community plugin. To apply only the desktop patch to the selected copy, use node cli.js install --path. Restoration with --path applies only to the selected target.

The installer preserves unpacked flags and compares external file contents before replacement. It aborts when a layout cannot be preserved safely. The desktop CLI uses ASAR; core/cdp-client.js is a separate protocol module for development integration.

Development and maintenance

Edit dictionary sources under dict/src/. Both dict/zh-CN.json and dist/zh-CN.bundle.json are generated outputs.

npm run build:dict
# Run all automated tests (aggregating 13 test suites)
npm test
npm run audit
npm run audit:ui -- --bundle <official-main.js>

Tests cover DOM/code and user-content boundaries, golden translations, CDP, menus, ASAR, discovery, proofreading, VS Code and regression cases. Read current output for counts. CI covers Windows, macOS and Ubuntu with Node.js 18/20/22.

Explicit content boundaries preserve message bodies, Markdown, file trees, path breadcrumbs, file references, project/conversation names and customization author content while fixed action buttons remain translated. See the user-content boundary record and customization content record for evidence and validation scope.

For an official frontend bundle with known provenance:

npm run scan:drift -- "<frontend-bundle.js>" --report "<report.json>"

The tool also checks discovered local built-in skill and plugin descriptions. Its report contains heuristic summaries and samples. A missing bundle fails; coverage is unknown when no candidates exist. Live verification remains separate.

For every update, follow the maintenance and release workflow: inspect official release notes, assess impact, fix as needed, align documentation, validate and read back the release. AGENTS.md and the community diagnostic skill point to that shared workflow.

cli.js manages lifecycle, core/ holds runtime/protocol/extension/ASAR support, tools/ builds and checks, test/ covers regressions, and docs/maintenance/ records evidence. See SECURITY.md and CONTRIBUTING.md.


💖 Voluntary Sponsoring & Support

If the Antigravity Chinese Localization Toolkit has benefited your work and daily development, and you would like to support ongoing maintenance, documentation improvements, automated testing, and version updates, voluntary donations of any amount are deeply appreciated. Sponsorship is entirely voluntary and does not constitute any service-level agreement.

  • RMB Sponsorship: Scan the WeChat Pay or Alipay QR codes below.
  • Cross-Border / Other Currencies: Use our PayPal Sponsoring Link. Accepted currencies, payment methods, and exchange rates are subject to PayPal's checkout page.

Please verify the payee name shown on the checkout page before confirming payment. Thank you for your support of open-source software!

WeChat Pay (RMB)
WeChat Pay Donation QR Code
Alipay (RMB)
Alipay Donation QR Code

👥 Contributors

Thank you to everyone who helps maintain, test, and improve the localization. GitHub counts commit authors on the default branch. We also recognize reports, reproduction steps, and design proposals here.

Contributor Contribution
yiheng8023 Maintains the localization, reviews changes, and publishes releases.
XuanChuYun Shared comparison screenshots on macOS that helped clarify localization coverage for the Antigravity App and IDE. Issue #5
a705876883-arch Proposed a fix for unintended translation of user content and supplied reproduction and regression cases. PR #6
fansID512 Provided detailed environment information, reproduction steps and comparison observations that helped diagnose settings stutter. Issue #8
MizuIro-H Reproduced the portable Linux detection problem on Bazzite, proposed a fix, and verified installation. Issue #9
tangyixiao Reported ambiguous permission preset labels, contributed a fix and regression tests, and verified the global settings UI. PR #11
Qiinn-71 Compared three installation states on Apple Silicon and traced the macOS update failure to signature verification. Issue #12
mitang-ai Proposed and tested Swarm UI and slash-command search highlight changes, shared a plugin detail translation proposal, and proposed localization changes for quota panels, references without a URI, and plugin suggestion cards in chat. PR #14 · Issue #15 · PR #37 (under review)
Kame-Lanlan Reported a support gap for the Antigravity extension installed under .vscode-server on Linux. Issue #23
BH-0 Reproduced the panel loading failure over Remote SSH on Ubuntu and provided the environment, reload steps, backend readiness log, and analysis of the forwarding port mismatch. Issue #23 reproduction
jobs-y Reported that the desktop @ file picker translated highlighted parts of file names and provided a screenshot to help reproduce it. Issue #38

📈 Star History & Community Growth


⚠️ Disclaimer & Compliance

  1. Non-Official Project: This project is an independent open-source localization utility developed by the open-source community. It is NOT an official product of Google LLC and is neither affiliated with nor endorsed by Google LLC or its subsidiaries.
  2. Trademark Notice: Google, Google Antigravity, Gemini, Chrome, and related trademarks, product names, and copyrights are the property of their respective owners.
  3. Authorized Personal Use: This toolkit is provided solely for personal learning, technical research, and Chinese localization assistance. This project DOES NOT distribute any proprietary binary assets (such as official app.asar packages or source files); all patching operations are executed locally on the user's client machine.
  4. Security & Privacy: This project contains ZERO telemetry reporting, network backdoors, or credential extraction mechanisms. All source code is 100% transparent and auditable.

📄 License

This project is licensed under the MIT License.

Explore related projects

Loading…