RORK LABJP
MAX — Rork Max is built on Claude Code and Claude Opus 4.6, generating native Swift apps directly instead of React NativeAPPLE — Rork Max targets the whole Apple ecosystem: iPhone, iPad, Apple Watch, Apple TV, Vision Pro, and iMessageWORKFLOW — In practice, users settle into letting the AI scaffold while they rewrite the state management and data layer themselvesSEED — Rork raised a $15M seed led by Left Lane Capital in April, with Peak XV, True Ventures, and a16z Speedrun joiningPAPERLINE — Rork acquired app builder Paperline and says it will stay acquisitive to bring in engineering talentREVIEW — Three-month revisit reviews are growing, clarifying where the tool shines and where it doesn'tMAX — Rork Max is built on Claude Code and Claude Opus 4.6, generating native Swift apps directly instead of React NativeAPPLE — Rork Max targets the whole Apple ecosystem: iPhone, iPad, Apple Watch, Apple TV, Vision Pro, and iMessageWORKFLOW — In practice, users settle into letting the AI scaffold while they rewrite the state management and data layer themselvesSEED — Rork raised a $15M seed led by Left Lane Capital in April, with Peak XV, True Ventures, and a16z Speedrun joiningPAPERLINE — Rork acquired app builder Paperline and says it will stay acquisitive to bring in engineering talentREVIEW — Three-month revisit reviews are growing, clarifying where the tool shines and where it doesn't
Articles/App Dev
App Dev/2026-06-25Advanced

Why Untranslated Strings Leak to Production Every Time You Add a Language — A Catalog and Gap-Detection Design for Rork (Expo) Apps

A design for stopping untranslated strings from leaking into production after you localize a Rork-generated Expo app. Covers a single source-of-truth catalog, CI-based missing/extra key detection, explicit fallback chains, plurals, and pseudolocalization for layout — with implementation.

Rork502Expo139i18n2localization2translation opsCI3fallbackinternationalization

Premium Article

Why Untranslated Strings Leak to Production Every Time You Add a Language

I once added two languages to one of my indie apps over a weekend. I dropped in two translation files, scanned the screens, and shipped because nothing looked wrong. A few days later a report came in: one heading on one screen was still showing in English. The reason was mundane — a key that didn't exist when I wrote those two language files had been added later by a separate feature. The new key only lived in the default language; the two languages I'd added never received it.

That was when it clicked: untranslated strings don't leak when you add a language — they leak when you add a key. Multilingual apps rarely break at the translation step. They break in the operational drift where key churn and translation coverage quietly fall out of sync. This article shares the design I use to stop that drift mechanically rather than by eyeballing, with the implementation included.

Why Translations Leak "Later"

When you first create your translation files, every language holds the same set of keys. But apps grow. Add a feature and you add strings, and those strings normally land only in a language you can write yourself (for most of us, Japanese or English). Propagating them to the rest is a separate step, and that step introduces a time lag.

The trap is that most i18n libraries stay silent on a missing key. They render the key name itself, or quietly fall back to the default language. Not crashing is a virtue, but because a missing translation isn't an error, nobody notices until it's in production. Manual review collapses under the product of screen count and language count: three languages over twenty screens is sixty combinations, and dynamic state multiplies that further. No human reviews all of it.

So the design has a single starting point: guarantee translation coverage with mechanical diffing, not human attention. Let's build that up from the foundation.

Put the String Catalog in a Single Source of Truth

The first move is to centralize strings as a typed catalog. Treat the default language (Japanese, in my case) as the source of truth, and treat its key set as a contract every other language must satisfy.

// i18n/catalog.ts — the default language (ja) is the source of truth for keys
export const ja = {
  common: {
    save: "保存",
    cancel: "キャンセル",
  },
  paywall: {
    title: "すべての機能を解放",
    cta: "続ける",
    restore: "購入を復元",
  },
} as const;
 
// Derive the key type from the default language; other languages must satisfy it
export type Catalog = typeof ja;
 
// Receive other languages as Catalog (not DeepPartial) to catch missing keys at compile time
export const en: Catalog = {
  common: { save: "Save", cancel: "Cancel" },
  paywall: { title: "Unlock everything", cta: "Continue", restore: "Restore purchases" },
};

The crucial part is typing en as Catalog rather than a DeepPartial. If en is missing a key, TypeScript fails at compile time. The classic accident — adding a key to the default language and forgetting to add it to English — turns red in your editor before CI even runs.

But types only protect languages that exist as files typed against the catalog. Languages you receive as JSON from a translator, or seed via machine translation, sit outside the type system. That's what the next mechanical check is for.

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
Reframes the real cause of leaked translations as the gap between key churn and translation coverage, and shows how to close it by design
A CI script that mechanically diffs keys across every locale to block untranslated strings before release, plus fallback chains, plurals, and pseudolocalization — the exact setup I run on my own multilingual indie apps
How to measure translation coverage as a number on a dashboard, and a checklist that turns adding a language into safe, routine work
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

Rork 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

App Dev2026-07-07
Laying Out Variable-Height Images in Two Columns: A Masonry Wallpaper Gallery in a Rork Expo App
From why numColumns cannot pack variable-aspect images cleanly, to a dependency-free column-balancing algorithm, to keeping virtualization with FlashList masonry and a pragmatic no-dependency fallback, building a wallpaper gallery with real code.
App Dev2026-07-05
Building a One-Time Code Field in Expo — SMS Autofill and Segmented Display Together
A six-digit verification screen looks trivial, but once you account for SMS autofill, pasting, and deleting one digit at a time, it needs real care. Here is how to nail the iOS and Android autofill first, then build a segmented look on top of a single TextInput that does not break.
App Dev2026-06-30
Previewing Files In-App in Rork — calling Quick Look safely from Expo
How to preview PDFs, images, and Office documents in place without sending users out of your app, using Quick Look (QLPreviewController) from Rork (Expo). Covers pre-downloading remote files, the local-URL requirement, the Android FileProvider alternative, and handling the share button.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →