# Translating website content

> **Section:** [Guides](https://docs.atmyapp.com/guides.md)
> **Related:** [Tutorial: build an Astro website](https://docs.atmyapp.com/guides/astro.md) · [Astro forms](https://docs.atmyapp.com/guides/astro-forms.md) · [Metadata and SEO](https://docs.atmyapp.com/guides/astro-metadata.md) · [Astro modes and previews](https://docs.atmyapp.com/guides/astro-previews.md) · [Store code in AtMyApp](https://docs.atmyapp.com/guides/code-in-atmyapp.md) · [Collections](https://docs.atmyapp.com/guides/collections.md) · [Verify an integration](https://docs.atmyapp.com/guides/diagnostics.md) · [Spam protection](https://docs.atmyapp.com/guides/form-spam-protection.md) · [Forms on any JavaScript website](https://docs.atmyapp.com/guides/forms.md) · [Drafts and previews](https://docs.atmyapp.com/guides/previews.md) · [Documents and media](https://docs.atmyapp.com/guides/reading-content.md) · [Change a live schema](https://docs.atmyapp.com/guides/schema-changes.md) · [Design your schema](https://docs.atmyapp.com/guides/structure.md)
> **Also:** [HTML version](https://docs.atmyapp.com/guides/translations) · [Docs index](https://docs.atmyapp.com/llms.txt)

---
Pull your project's content, then select a space for the translation.

```sh
atmyapp content pull
atmyapp space create german-copy
atmyapp space use german-copy
atmyapp locales export doc:home --locale de --space --status missing,incomplete,outdated -o de.json
```

Add a `translation` value to each segment you want to update. Keep the segment's reference, pointer, and source hash. The pointer identifies an array item by its schema identity, so a reordered gallery or list still targets the right item. Import compares each source hash with the source in the selected space and reports stale segments. Export those segments again from the updated source before translating them.

```sh
atmyapp locales import de.json --dry-run
atmyapp locales import de.json
atmyapp stage status
```

To edit the whole translation, open the merged copy and save it after editing the returned JSON file.

```sh
atmyapp content edit doc:home --locale de
atmyapp content save doc:home@de
```

Change only translatable fields. Keep array identities, source-only fields, and the source's item order. To remove a translated override, set the field to its current source value. The save checks that the source and saved translation still match the copy you opened.

Run the website with `ATMYAPP_CLIENT_MODE=local` and the selected space to see the translation. Push the saved edits, open the named preview, and request review.

```sh
atmyapp stage push
atmyapp stage preview --wait
atmyapp stage review --to editor@example.com --message "Review German homepage copy"
```

Editing a source field can make an existing translation outdated. `stage status` and `stage push` list the affected languages. Run `locales export --locale de --space --status outdated` to find the affected segments in the space.