◉ANTIGRAVITY LABJP
Articles/Antigravity Basics
◉ Antigravity Basics/2026-05-24Intermediate

When Japanese Prompts Drag Down Antigravity Quality — A Multilingual Operator's Hybrid Workaround

Switching Antigravity's UI to Japanese is one thing; getting Antigravity to produce quality output from Japanese prompts is another. As an indie developer running multilingual apps and Japanese-language blogs in parallel, I break down measured quality drops with Japanese prompts, a hybrid English-Japanese strategy, a lightweight translation layer, and the reality of running Gemma 4 locally for Japanese.

Antigravity421Prompt EngineeringMultilingualJapaneseGemma4Quality

✦ Premium Article

import { Callout } from '@/components/ui/callout';

The first thing you notice after switching Antigravity's UI to Japanese is that the UI alone doesn't fix everything. Hand the agent a long instruction in Japanese, and the resulting code and diffs start to feel slightly off. As an indie developer maintaining several multilingual iOS/Android apps and running several Japanese-language blogs in parallel, I spent a fair amount of time wrestling with the gap between Japanese-prompt output and English-prompt output from Antigravity before settling on a working approach.

Localizing the interface and localizing the prompts are two different problems. The first is purely cosmetic; the second directly affects output quality. This article walks through how I reconcile "I want to write in Japanese" with "I need code that actually compiles" using measurements from my own day-to-day workflow at Dolice.

UI localization is not the same problem as prompt-language quality

Let's separate the layers. Antigravity's language settings split into roughly three: the display language, the agent's reply language, and the language of code comments. UI localization is a string-substitution layer and has no influence on output quality.

The interesting problem is what happens to generated code, diffs, plans, and test suggestions when the instruction itself is written in Japanese. In my experience, short prompts ("make this function pure") show essentially no quality gap between Japanese and English. The gap appears when you give the agent multi-step instructions, ask it to refactor while respecting library-specific assumptions, or hand it a stack trace and ask for a root cause.

When the surrounding context — official docs, library names, error messages — is overwhelmingly in English, a Japanese prompt vs an English prompt produces visibly different results. This is not an Antigravity-specific defect; it's a structural quirk of how current frontier models are trained.

Why Japanese prompts produce weaker output — three structural reasons

First, training-data ratio. Programming knowledge — library behavior, stack-trace interpretation, idiomatic patterns — is overwhelmingly learned from English text: English docs, English comments, English issues and PRs. Japanese technical writing is a small fraction of the available corpus. A Japanese prompt nudges the model into a state where it has to reach further to find the relevant English-side expertise.

Second, command sharpness. Short English imperatives like "Refactor this function to be pure. Move side effects to a separate adapter." are syntactically compact, with clear verbs and objects. Equivalent Japanese phrasings have looser word order and heavier use of particles, which gives the model more freedom — and therefore more opportunities — to weight the wrong clause as the main intent.

Third, identifier islands. Library names, API names, and error constants tend to become semantic islands in Japanese prose, surrounded by Japanese particles. The model recognizes the name but loses some of the surrounding behavioral context. The result is responses that mention the right symbol but get its actual behavior subtly wrong.

ℹ️
None of this means "Japanese is bad". Conversational Japanese ability is more than sufficient. The narrow layer where quality erodes is code generation and code modification.
✦

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
✦Measured comparison of revision count, success rate, and token usage when issuing identical tasks in Japanese vs English
✦A concrete hybrid strategy — where to keep Japanese, where to push toward English to avoid quality regressions
✦A lightweight translation-layer architecture, and the reality of Japanese output when running Gemma 4 locally
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

◉ Antigravity2026-11-23
Paying for Google AI Pro but Gemini 4 says Unavailable? Read the plan line first
You pay for Google AI Pro, yet Antigravity won't let you pick Gemini 4. Whether the plan line reads Starter Quota or Google AI Pro changes where you should look. Here are three patterns, the order I check them in, and a small script that keeps a record you can hand to support.
◉ Antigravity2026-11-12
When "Always Proceed" Still Asks for Approval, Decide How Loose to Go by Command Type, Not Setting Name
You picked Always Proceed and the agent still asks before running terminal commands. Before hunting for the cause, sort commands into read-only, local-write, and delete-or-send, and decide your own line. A small classifier script included.
◉ Antigravity2026-10-31
Ask It to Only Read on Day One: A Five-Step Ladder for What to Hand Antigravity
What to ask Antigravity on your first day, and what to hold back. A five-step ladder that widens the agent's scope from least to most breakable, plus a small shell script that counts what actually changed before and after a session.