A Japanese query won't surface its English twin — when embeddings notice language before meaning
Embed a translation pair with gemini-embedding-2 and the two halves won't be nearest neighbours, because language itself inflates similarity. Here is how I measured cross-lingual recall using translation pairs as ground truth, and what happened when I subtracted the language centroid.
What language should your system instruction be in? Measuring three approaches when most prompts arrive in the user's language
Keep the system instruction in English, or translate it into the user's language? I measured input tokens per language with countTokens, then lined up output-language match and schema compliance to find where nine tokens is enough.
When Gemini API Leaks Japanese Into Your English Output Once in a While — Field Notes on Measuring the Contamination Rate and Tightening It in Stages
You told Gemini to answer in English, and 3 out of 100 runs slip a Japanese sentence into the tail. Here is why you cannot stop that 'once in a while', and a production pattern that measures the contamination rate as an SLO and tightens it with graded recovery, with working code.
Generate Japanese and English in One Structured Call to Stop Term Drift
Generating Japanese and English versions separately makes terminology drift article by article. Pair both languages in one Gemini 3.5 Flash structured-output call, pin a glossary, and detect drift mechanically — with measured results.
Replying to 11 Languages of Google Play Reviews With Gemini Without Sounding Like a Bot
After two major Android updates, I had to clear a backlog of unanswered Google Play reviews in Japanese, English, Traditional Chinese, Korean, Thai, Italian, Russian, Persian, Ukrainian, and Polish. This is the operations design I settled on for using Gemini as a translation and vocabulary partner without losing the human temperature.
Auto-Generating App Metadata in 30 Languages with Gemini API — Lessons from Beautiful HD Wallpapers
How I used Gemini API to auto-generate App Store and Google Play metadata in 30 languages for a 50M+ download wallpaper app. Covers prompt design, character limit handling, and real results from 3 months of production use.
Automating App Store and Google Play Review Replies with Gemini API — The 8-Second Rule I Discovered the Hard Way
A practical implementation record of automating multilingual app review replies using Gemini API, based on managing apps with 50M+ cumulative downloads. Covers the undocumented 8-second wait rule that Apple's API silently enforces.
Making Gemini API 12x Faster with asyncio: Lessons from Multilingual App Store Generation
A real-world account of parallelizing Gemini API calls with asyncio during the iOS update of Beautiful HD Wallpapers. Learn how asyncio.gather() with rate limit handling cut multilingual generation from 13 minutes to 65 seconds.
Gemini Live Translation API — Building Real-Time Multilingual Voice Apps
A practical guide to building real-time multilingual voice translation applications using Gemini's Live Translation and Speech-to-Speech APIs
Automating Multilingual Translation and Localization with Gemini API
Learn how to automate multilingual translation and app localization using Gemini API. Covers Python implementation, glossary management, batch processing, and quality checks.
Automating Screenshot Localization with the Gemini API
Learn how to leverage Gemini API's multimodal capabilities to automatically localize app store screenshots across multiple languages