# Translate push content

Send one push that reaches every user in their own language, without creating a separate push for each language. Write the push in the default language, add the other languages, and then translate the text with AI or bring in translations from a file.

## Define the languages you want to use in your push

Start by creating the default message content, which is sent to all users unless a more specific language version is provided. You can then add content for additional languages to tailor the message to users' device language settings. For how multi-language messaging works across channels, see [Multi-language messaging](/product/personalization/multi-language/).



To add more languages:

1. At the top of the editor, click **Plus** next to the language dropdown.
2. In the **Select languages** window, select the languages you need.
3. To add a language that no device uses yet, for example when you're planning to enter a new region, select **Include languages without devices** and then select the language.
4. Click **Apply**.

If the preset already has more than one language, open the language dropdown and select **Choose languages…** instead of clicking **Plus**.

The **Select languages** window lists the languages your app's devices use, with the device count next to each, and any language already in the preset. To find a language, type its name or its language code, for example `ja` or `zh-hans`.

<img src="/content-presets-47.webp" alt="Select languages window with device counts next to each language and the Include languages without devices option highlighted"/>

<Aside type="note">
The language selector here only counts devices on platforms that receive push notifications. Language values set through user-level Tags aren't tied to a device platform, so they don't show up here.
</Aside>

_For example, if your default language is English but you want to reach Spanish and German speakers as well, add those languages to your push notification. Users with Spanish or German phone settings will then receive the message in their preferred language, while others will see the default English version._

After you add the languages, write the text for each one in the editor, or translate it with AI. See [Create dedicated copy in all languages you’ve selected](/product/content/push-presets/push-content-editor/#create-dedicated-copy-in-all-languages-youve-selected) and the next section.

## Translate with AI

The **AI Translate** button lets you quickly localize your content by automatically translating it from the default language into [selected target languages](#define-the-languages-you-want-to-use-in-your-push) using AI. This helps speed up the localization process and reduces manual work when managing multilingual content.

<Aside type="tip">
Before using **AI Translate**, make sure to [define the languages you want to use in your push](#define-the-languages-you-want-to-use-in-your-push).
</Aside> 

Already have translations from a vendor or another preset? [Import them from a CSV or JSON file](#import-and-export-translations) instead of generating new ones.

### Open AI Translate

In the [push content editor](/product/content/push-presets/push-content-editor/), locate your push message content field. Underneath this field, click the **AI Translate** button to start the translation process.

<img src="/ai-translator-1.webp" alt="AI Translate button below the push message field in the push content editor" />

Pushwoosh will use the current default language as the source and translate the content into the [target languages you've selected](#define-the-languages-you-want-to-use-in-your-push).

### Configure translation settings

In the window that opens, check **Overwrite existing content** if you want the AI to replace any existing translations in the selected languages. Leave it unchecked to keep the ones you already have.

<p align="center">
  <img src="/content-push-ai-composer-3.webp" alt="AI translation settings window with the Overwrite existing content checkbox" />
</p>

### Translate the text

Click **Translate**. The message text will be automatically translated and inserted into the fields for the selected language version.

<img src="/ai-translator-2.webp" alt="AI translated content inserted into language fields" />

## Import and export translations

Bring your own translations from a translation vendor, a spreadsheet, or another Pushwoosh preset instead of generating them.

To open Import and Export:

1. Go to **Content** → **Push presets**.
2. Open the preset in the [push content editor](/product/content/push-presets/push-content-editor/).
3. Click **Import** or **Export** next to the language selector.

<img src="/import-export-translations-1.webp" alt="Import and Export icon buttons next to the language selector in the push content editor" />

* **Export:** download the current title, subtitle, and message for every language as a CSV to translate elsewhere or reuse in another preset.
* **Import:** upload a CSV or JSON file to apply translations to this preset.

<Aside type="note">
Import and Export cover only title, subtitle, and message text. They do not move images, buttons, links, or other preset settings.
</Aside>

### Export the current content

Click **Export** to download the preset's title, subtitle, and message for every language it currently has, including the default one, as a CSV file.

The file has one row per language:

| language | title | subtitle | message |
|---|---|---|---|
| default | Welcome to our app! | | Thanks for installing. |
| es | ¡Bienvenido a nuestra app! | | Gracias por instalar. |
| de | Willkommen in unserer App! | | Danke fürs Installieren. |

### Import translations into the preset

To add translations from a file, first prepare the file, then upload it to the preset.

#### Prepare the file

Start from the CSV you got from **Export**, or create a file with the same columns. A `.json` file works too, see [Use a JSON file instead of CSV](#use-a-json-file-instead-of-csv).

1. Add a **language** column. It is required. In each row, enter the language code as it appears in the [language selector](/product/content/push-presets/push-content-editor/translate-push-content/#define-the-languages-you-want-to-use-in-your-push), for example `zh-Hant` for Traditional Chinese. Letter case does not matter, `ES` and `es` both work.
2. Add the **title**, **subtitle**, and **message** columns you need, in any order. A column you leave out stays blank for every language.
3. Write one row per language, with the text in the matching columns.
4. Check the language codes. If the import preview lists a code Pushwoosh does not recognize, Pushwoosh still adds that language, but its text reaches only devices set to exactly that code. Fix the code in the file and import again.

<Aside type="note">
`subtitle` shows on iOS and macOS only, the same as when you [add a subtitle](/product/content/push-presets/push-content-editor/#add-a-subtitle) in the editor.
</Aside>

##### Use a JSON file instead of CSV

If your vendor or team sends translations as a `.json` file, you can import it directly. Use one of these two shapes:

* **By language code,** with the same fields as the CSV (`title`, `subtitle`, and `message`):

  ```json
  {
    "default": { "title": "Welcome to our app!", "message": "Thanks for installing." },
    "es": { "title": "¡Bienvenido a nuestra app!", "message": "Gracias por instalar." }
  }
  ```

* **As the [Presets API](/developer/api-reference/presets-api/) returns it,** with `localizedTitle`, `localizedSubtitle`, and `localizedContent`, which match the CSV columns `title`, `subtitle`, and `message`. Use this if you already export presets through the API:

  ```json
  {
    "localizedTitle": { "default": "Welcome to our app!", "es": "¡Bienvenido a nuestra app!" },
    "localizedContent": { "default": "Thanks for installing.", "es": "Gracias por instalar." }
  }
  ```

<Aside type="note">
To update many presets at once from scripts, ask your development team to use the Presets API [`UpdatePartial`](/developer/api-reference/presets-api/#updatepartial) call. For one preset in the Control Panel, use **Import** on this page. It takes the same `localizedTitle`, `localizedSubtitle`, and `localizedContent` maps.
</Aside>

#### Import the file

Upload the prepared file to the preset:

1. Click **Import** next to the language selector.
2. Choose a `.csv` or `.json` file. The preview shows how many languages will be applied, how many of those are new to this preset, and how many are skipped.
3. Check **Overwrite languages that already have text** only if you want the file to replace existing translations. Leave it unchecked to fill empty languages and add new ones without changing text you already wrote.

<img src="/import-export-translations-2.webp" alt="Import translations modal with a CSV file loaded, the overwrite checkbox, and the languages summary" />

4. Click **Import**.

After import, switch the language selector to a language from the file and confirm the title and message look right.

<Aside type="note">
A language is skipped when nothing in its row would change anything:

* every field in the row is blank, or
* the preset already has text in every field that row fills in, and **Overwrite languages that already have text** is off.

A language in the file that isn't in the preset yet is added automatically. An empty cell or field never clears existing text, even with **Overwrite** checked. It's only skipped, not written as blank.
</Aside>

#### If Pushwoosh can't read the file

Instead of a preview, you see one of these messages:

| Message | When it happens |
|---|---|
| The file is empty. | The file has no content. |
| The file is not valid JSON. | A `.json` file (or a file starting with `{`) can't be parsed as JSON, or its top level isn't an object. |
| The CSV file has no "language" column. | The header row of a CSV file is missing the `language` column. |
| The file has no translations. | Every row, or every JSON entry, is missing a language code. |