◉ANTIGRAVITY LABJP
Articles/Editor View
⟐ Editor View/2026-07-16Advanced

Your UI Is in Japanese. Your Commit Log Isn't.

Setting your editor's display language does nothing for the language your agents write into the repository. Here is what six weeks of unattended runs actually produced, how to pin output language per audience, and a gate that catches the drift mechanically.

Antigravity425localization7AGENTS.md15unattended runs9quality gates

✦ Premium Article

I finished the Japanese UI setup in early June. Language pack installed, a line in my agent instructions asking for Japanese replies, the whole interface and the conversation in Japanese. I was pleased with myself for about two weeks.

Then I ran git log --oneline -30 to review what my unattended agents had been up to, and the screen filled with a striped mess of two languages. A Japanese commit message, then three lines down, fix: resolve race condition in the scheduler. Same agent. Same settings. Same week.

Nothing was misconfigured. The UI was Japanese. Responses came back in Japanese. Only the things left behind in the repository were drifting.

The UI language and the artifact language are decided in different places

It took me a while to see why. There are three layers, and they are independent of one another.

LayerWhat decides itWho reads itSelf-correcting?
UI languageLanguage pack, editor settingsYou, at the screenFixed once configured
Response languageRule files (GEMINI.md, AGENTS.md) and the prompt at handYou, in the conversationYes — you notice and correct it
Artifact languageWhatever context the model is in at that instantFuture you, collaborators, usersNo — nobody is watching

The first layer is an editor setting; the second is decided by rule files and the prompt. Both live in front of you, so when the conversation itself drifts, a single correction in the chat pulls it back.

The third layer is not a setting at all. When an agent writes a commit message, its input is the diff and the recent conversation — nothing else. If the diff is full of English tokens (function, return, variable names), the model concludes it is operating in an English context. If the diff touched Japanese prose, it writes Japanese. The artifact language follows the diff, not your configuration.

With a human at the keyboard, that drift gets fixed the moment it appears on screen. Unattended, it doesn't. The next run starts, nobody reads the output, and the mixture accumulates. That is exactly why I went two weeks without noticing.

There is no "response language" setting in the official settings reference

Let me record a misunderstanding I carried for a long time. Localization guides sometimes describe a settings key — something like responseLanguage — that pins the language the agent replies in. I spent a while hunting for it in the settings pane.

When I reread the official documentation in November 2026 (the Settings page and the Extension settings table for the VS Code extension), no such key was listed. The extension settings cover things like antigravity.enableInlineDiff and antigravity.serverPort — diff display and the background server, nothing about language. As far as I could verify, the documented way to set the agent's language persistently is rules.

Common assumptionWhat the official docs say (as of Nov 2026)What I do
The response language is a toggle in SettingsNo such key documented. Persistent instructions go in rules (AGENTS.md, GEMINI.md, .agents/rules/*.md)Both the reply language and the output contract live in rules
A closer rule file overrides a farther oneRules are cumulative: everything found is combined, not replacedLanguage rules are written in exactly one place
Subfolders inside .agents/rules/ get picked upOnly immediate .md children are scanned; nested files are ignored unless registered in .agents/rules.jsonKeep the directory flat

Translating the screen is the language pack's job. Everything past the screen is decided by text, not by a setting. Settings shape the screen; rules shape the words. Once that distinction landed, I stopped digging through the settings pane.

✦

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
✦UI language, response language, and artifact language are three independent layers. In unattended runs, only the third one goes unread and unfixed
✦How to pin commit messages, code comments, log strings, and generated docs by audience rather than by preference, and how to encode that in AGENTS.md
✦A 120-line lang_gate.py that catches violations mechanically, plus six weeks of measurements: violation rates, false-positive rate, and three things it still misses
Secure payment via Stripe · Cancel anytime
✦

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

Related Articles

⟐ Editor View2026-11-01
Can't Find the Conversation History Page? Three Ways Back to Past Chats After Antigravity 2.28.2
If the Antigravity app no longer shows a conversation history page after an update, here is where to look instead: the search button, the conversation navigator, and a full-text search of the brain folder, plus one habit that makes chats findable later.
⟐ Editor View2026-10-28
Antigravity IDE Freezes After Opening a Folder on Linux + Nvidia: A Triage Order
A Linux + Nvidia report says the IDE stops responding seconds after a folder opens. What the thread already ruled out, and the order I'd try next. Cause unconfirmed.
⟐ Editor View2026-10-21
I Wondered Whether to Sort My Diffs by Machine, So I Ran It on 106 Commits. It Mattered for 8, and for One 1,776-File Change
I wrote a small script that orders a git diff by reading priority and ran it on 106 recent commits. It earned its place in 8 of them and one bulk change. Rules, full code, and the silent misclassification traps.