Google Antigravity Speaks Chinese: A One-Line Launcher for UI and Thinking-Language Localization
A second language entry for Antigravity sidesteps the perpetual re-patch cycle that asar editing would cause and honors code signatures on macOS, a real pain point for daily drivers. The plugin-toggle pattern also shows how to localize AI behavior for one workflow without contaminating the default one.
Antigravity Desktop may top the coding benchmarks with Gemini 4, but an English-only UI and English thinking steps blemish daily use for Chinese developers. An open-source tool called antigravity-zh-launcher fixes both pains without cracking open the Electron package. It injects a localization layer at runtime over the Chrome DevTools Protocol, leaving app.asar and the code signature untouched, so macOS updates don't force a re-patch.
Runtime injection through CDP avoids the asar re-patch treadmill that follows every official update, a significant maintenance win on macOS where signature loss triggers system prompts.
Keeping the original entry 100% English while the Chinese entry toggles a plugin is a clean isolation design for locale-specific prompt behavior.
The quit-restore mechanism ties localization state to the launcher process, so a stray shortcut can't leak Chinese prompts into the English workspace.