# Publish

> Send reviewed texts to the CDN as a new release. Apps pick it up the next time they check.

Owners and admins publish from the app's **Releases** tab. The badge shows how many changes wait.

## Publish a release

1. Open **Releases** and press publish.
2. Check the preview: per language, what goes live, what is added, edited or removed, and what is **Held back** (AI drafts).
3. Confirm. Lefine writes the files, then reads every language back through the CDN. The result is **Published and verified**, or **Publish did not finish cleanly**; in that case, publish again.

From the terminal: `npx lefine strings publish -p app_…`. A person still approves the publish in Lefine; the CLI opens the page and waits.

## A broken text stops the publish

Before anything is uploaded, Lefine checks every text that would ship, in every language, with the same ICU parser the SDKs use. A text that is not valid ICU (for example `{count, plural, one {# item}}`, a plural with no `other` branch) stops the publish: your app would show it raw.

The run fails at **Build snapshot** and names up to five texts, with language and key:

```text
A text is not valid ICU (de pricing.items: plural without an "other" branch at 28). Nothing was uploaded.
```

Fix the text in Lefine, then publish again. The live release does not change. To catch it earlier, run `npx lefine strings check -p app_…` in CI, or look at the preview in [Review](https://lefine.ai/en/docs/strings/review/).

## Roll back

Pick an older release and roll back to it. The old texts go live as a **new** release. Your translations in Lefine do not change.

## What your app reads

```text
https://cdn.lefine.ai/{appId}/manifest.json
```

The manifest names one file per language. A file for a published version never changes, so it is cached for a year. The manifest is short-lived: SDKs ask for it again and refetch a language only when its version changed.

Source: https://lefine.ai/en/docs/strings/publish/
