Over-the-Air Translation Delivery: Ship Text Fixes Without an App Release
Publish translations to a CDN and load them at runtime, so a typo fix skips app review and redeploys while bundled strings stay as the fallback.
It's the Monday after a launch, and someone on the support team forwards a screenshot from a customer in Munich: the German checkout button says "Jetzt kafuen". Two letters swapped. Fixing the value in your translation tool takes ten seconds.
Getting the fix to users takes a lot longer. In a native iOS or Android app, the corrected string goes into a new build, the build waits for store review, and once it's approved it only reaches the people who install the update. Everyone else keeps "Jetzt kafuen" for as long as they keep the old version. On the web the path is shorter, but a one-word change still runs through the whole pipeline – tests, build, deploy – whenever the locale files are part of the build.
None of that is wrong for code. It's just a heavy way to move text. Most strings don't need to travel in the same package as the code that renders them, and treating them as data you can update separately removes the wait.
What over-the-air delivery changes
Over-the-air (OTA) delivery splits the two. Your app still ships with its strings bundled, exactly as it does today. Translatize also publishes those strings to a CDN as JSON files, and a small client inside your app checks for a newer release at runtime. If there is one, the app downloads it and uses it. If there isn't, or the network is down, nothing happens – the app keeps the strings it already has.
The typo fix becomes: correct the value, publish, and the next time an app checks, it shows the new text. Nothing waits for a build or a store review.
In Translatize this lives in Project Settings → Delivery (CDN), and the unit you work with is a distribution.
Setting up a distribution
A distribution follows one branch of your project and publishes it in one shape. You set it up once:
- Open Project Settings → Delivery (CDN) and choose New distribution.
- Give it a name only your team sees, such as "Mobile app – production".
- Pick the branch it publishes – usually
main. - Pick the file format: Nested JSON for i18next and most libraries, or Flat JSON if your app reads dotted keys as they are (
"checkout.cta": "Buy now"). - Decide on Approved labels only. Off, every non-empty value is published. On, only labels with the Approved status go out – a good fit if your team already runs a review step before anything ships.
- Tick Publish automatically on merge if you want merges to publish for you (more on that below).
Then choose Publish. That creates release v1: one JSON file per language and a manifest that points at it. The card shows the manifest URL, and Copy SDK snippet gives you the client setup with the distribution's ID already filled in.
A project can have more than one distribution. You might keep one for main, which production apps read, and one for a staging branch that internal builds read, so testers see new copy before customers do.
Loading releases in your app
The client is @translatize/ota, a small package with no dependencies that runs in browsers, React Native and Node. It ships an i18next backend, so if you already use i18next – the setup in React i18n with react-i18next – only the init call changes:
import i18next from 'i18next';
import { initReactI18next } from 'react-i18next';
import { localStorageAdapter } from '@translatize/ota';
import { OtaBackend } from '@translatize/ota/i18next';
import en from './locales/en.json';
import de from './locales/de.json';
i18next
.use(OtaBackend)
.use(initReactI18next)
.init({
lng: 'de',
fallbackLng: 'en',
react: { bindI18nStore: 'added' }, // re-render when a newer release arrives
backend: {
distributionId: 'YOUR_DISTRIBUTION_ID',
storage: localStorageAdapter(),
bundled: { en, de },
},
});
What the client does with that is deliberately boring:
- On start it hands i18next the cached copy of the language, or the bundled one, straight away. The app never waits for the network when it has something to show.
- In the background it checks the manifest – by default only when its cached copy is more than five minutes old – and downloads a language file only if it changed.
- A new file is added to the running i18next instance, and with
bindI18nStore: 'added'react-i18next re-renders the components that use it. - If the CDN times out (after three seconds by default), fails, or refuses the request, the app keeps its cached or bundled strings.
In React Native, swap localStorageAdapter() for asyncStorageAdapter(AsyncStorage) so downloaded releases survive a restart. Native iOS and Android apps that don't run JavaScript can read the same two files over plain HTTPS; the docs describe the format.
Two habits make this work well. Always pass a storage adapter – with the default in-memory storage, every app start downloads everything again. And keep bundling at least your fallback language, because a first start without a network connection has nothing else to show.
Publishing without opening the app
Clicking Publish is fine for a one-off typo. For everything else there are other ways in.
On merge. With "Publish automatically on merge" switched on, every merge into the distribution's branch publishes a new release, and a merge that changes nothing publishes nothing. This fits the branch-per-feature workflow: translators work on a feature branch, an admin merges it into main, and apps pick up the new strings on their next check. If your repository uses the GitHub App, merging a pull request also merges its translation branch, so the same chain starts from the merge button on GitHub.
A typo fix, end to end
- Fix the valueYou
On a small hotfix branch, like any other change.
- Merge into mainAdmin
Auto-publish on merge creates the next release.
- The release goes liveTranslatize
The CDN serves the new version within a few minutes.
- Apps pick it upApp
On its next check, the client downloads the changed language file.
If an automatic publish ever fails, the project's admins and owner get a notification and the distribution card shows the failure, so a missed release doesn't go unnoticed.
From the CLI. translatize release publishes a distribution and prints the version and the manifest URL. It needs an API token with the developer role or higher, but no config file, so it fits at the end of any deploy job:
npx @translatize/cli release --branch main
# Published version 8 of "Mobile app – production" (branch main) – 312 key(s), 3 language(s): de, en, fr
# manifest: https://cdn.translatize.com/d/<distribution id>/manifest.json
With one distribution the CLI picks it on its own; with several, --distribution takes a name or ID and --branch narrows the choice.
From the app or the API. The labels page's Publish dialog has a Delivery (CDN) tab next to webhooks and Git, and the integration API has two token routes – list distributions, publish one – for anything the CLI doesn't fit.
When a release is wrong
Fast publishing cuts both ways: a bad release reaches users just as quickly as a good one. Every publish creates a numbered release, and Releases on the distribution lists them, newest first, with the date, the languages and who published each one – a person, an API token, or auto-publish on merge.
An admin or owner can choose Roll back on any earlier release. The CDN serves that version again within a few minutes, and apps pick it up on their next check, the same way they picked up the mistake. The last 20 releases are kept, so there is usually plenty to go back to.
What it costs
Delivery is an add-on on Starter, Professional and Agency, sold in blocks of 1,000,000 requests per calendar month (UTC):
| Plan | Price per block a month | Blocks you can add |
|---|---|---|
| Starter | $5 | up to 10 |
| Professional | $4 | up to 50 |
| Agency | $3 | up to 200 |
One allowance covers every distribution on the account. A request is any manifest or file request the CDN serves. With a storage adapter, an app start costs one manifest request for each language it loads, if its cached copy is more than five minutes old, plus one file request when there is a new release to fetch.
To put numbers on it: an app started 25,000 times a day in one language makes at most about 750,000 manifest requests in a 30-day month. If 20,000 devices each download four releases that month, that adds 80,000 file requests – about 830,000 in total, which fits in a single $5 block on Starter.
You get an email at 80 % and at 100 % of the month's requests. Delivery keeps running up to 120 % at no extra charge. Past that, the CDN refuses requests until you add blocks or the month rolls over, and apps keep showing their cached or bundled strings in the meantime. Refused requests aren't billed. Removing blocks takes effect at the end of the period you've paid for, without a refund for that period.
On Free you can create distributions and publish to try the flow, but the CDN only serves them on a paid plan with at least one block.
Published means public
There is one rule to take seriously. A distribution's files have no access control: anyone who knows its URL can download every string in it. That's what lets any app or device fetch them without a token, and it also means you should never put secrets, API keys, internal URLs or personal data in a branch you publish. The files are stored in the EU and delivered worldwide.
The Delivery (CDN) docs cover every client option, the plain HTTP format for native apps, and what a client should do with each response.
