# Compare your store text between two versions

> Ask an Agent to list what changed in your store page's text from one version to another, language by language and field by field, or between text files in the project and a version. Nothing is changed.

Source: https://air.build/docs/app-store/compare-store-text-between-versions/

**Store Page** shows one version and one language at a time. To see what changed from one version to the next, for example what you rewrote for 1.5 compared with 1.4, ask an Agent. It compares the text of each language field by field and lists the differences.

> [!NOTE]
> AirBuild has no screen for this. You ask an Agent in the Project's chat, and it uses `asc diff localizations` (described under Finding commands in [asc](https://air.build/docs/cli/asc/#finding-commands)). The command only reads: it changes nothing in App Store Connect or in your files.

## What it compares

The text that belongs to a version, in each language:

| Field on Store Page | Name in the result |
| --- | --- |
| **Description** | `description` |
| **Keywords** | `keywords` |
| **Promotional Text** | `promotionalText` |
| **What’s New in This Version** | `whatsNew` |
| **Support URL** | `supportUrl` |
| **Marketing URL** | `marketingUrl` |

**Name**, **Subtitle**, **Privacy Policy URL** and the categories aren't compared: they belong to the app, not to a version (see Fill in the store page in [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/#fill-in-the-store-page)). Neither are screenshots or the App Review contact. Spaces at the start or end of a field don't count, and an empty field counts as having no text.

## Compare two versions

Ask in the Project's chat, for example:

```text
Compare the store text of version 1.4 with version 1.5, in every language.
```

1. The Agent finds the two versions of your app and runs `asc diff localizations` with the first one as `--from-version` and the second as `--to-version`. Both have to be versions of the same app.
2. It shows you the differences in the chat. Each one has the language, the field, and the text on each side.

Each difference is one of these:

| Change | What it means |
| --- | --- |
| `add` | The field has text in the second version and none in the first ("field exists in target but not in source"). |
| `update` | The text differs ("field value differs"). `from` is the first version's text, `to` the second's. |
| `delete` | The field has text in the first version and none in the second ("field exists in source but not in target"). |
| `none` | Nothing differs ("no changes"). This row shows only in a table; in the Agent's usual output an unchanged comparison is just an empty list. |

A language that only one of the versions has shows each of its fields as `add` or `delete`.

To change the text after you've compared, edit it on **Store Page** (see [Prepare your App Store page](https://air.build/docs/app-store/prepare-your-store-page/#fill-in-the-store-page)), or ask the Agent to.

## Compare files in the project with a version

`asc diff` also compares text files in the project with a version in App Store Connect. It reads only `.strings` files: one per language, named after it (for example `en-US.strings`), in a folder or on its own, with the field names above. `asc localizations download` writes files in that form (listed under `localizations` in [asc: apps and App Store listing](https://air.build/docs/cli/asc-apps/#localizations)).

```text
Compare the .strings files in the localizations folder with version 1.5 in App Store Connect.
```

The Agent runs `asc diff localizations` with the folder (`--path`) and the version (`--version`). Your files are the first side and the version the second: `update` shows your file's text as `from` and App Store Connect's as `to`, `add` is a field only App Store Connect has, and `delete` a field only your files have.

If you keep your listing in the JSON files of [Keep your store page text in files](https://air.build/docs/app-store/keep-your-store-page-in-files/), `asc diff` doesn't read them. Ask the Agent for a dry run of the push or a plan instead: see Send the changes to App Store Connect in [Keep your store page text in files](https://air.build/docs/app-store/keep-your-store-page-in-files/#send-the-changes-to-app-store-connect).

## Questions

**The Agent says a version belongs to another app.**

The message is "version … belongs to app …, expected --app …". One of the versions isn't a version of this Project's app. Check the version numbers, and ask in the chat of the Project whose app you mean.

**The Agent says no .strings files were found.**

The message starts "no .strings files found in" and the folder. The folder has no `.strings` files at the top, for example because it holds JSON files. See [Compare files in the project with a version](https://air.build/docs/app-store/compare-store-text-between-versions/#compare-files-in-the-project-with-a-version).

**The Agent says a file has unsupported keys.**

The message is "unsupported keys for locale" and the language, then the fields. The file has a field that isn't one of the six above, such as the app's name or subtitle. Ask the Agent to compare only the version's fields.

**The Agent says it can't tell the language of a file.**

The message starts "cannot infer locale from" and the file's name. The file's name doesn't end in `.strings`. A single file has to be a `.strings` file named after its language, such as `fr-FR.strings`. Ask the Agent to rename it.

**Can it compare the name and subtitle?**

No. `asc diff localizations` compares only the six fields of a version. The name and subtitle belong to the app and are on **Store Page**.
