---
title: "Sync a Polylang Site From Staging to Live With Its Translations"
url: "https://wpimportexport.com/sync-polylang-site-staging-to-live/"
description: "Push pages and posts of a Polylang site from staging to live with their translations: languages, translation links, shared slugs, images and ACF fields."
type: post
published: 2026-12-03T05:00:00+00:00
modified: 2026-11-26T08:32:30+00:00
categories: ["Content Sync"]
tags: ["Content Sync", "WordPress multilingual migration", "WordPress staging to production"]
docs_topics: ["Sync and migration"]
---

# Sync a Polylang Site From Staging to Live With Its Translations

A coffee roastery runs its site in English, German and Ukrainian with Polylang. The team rewrote the “Our roastery” page and its “Visit the roastery” subpage on staging, in all three languages, with new photos. On the live site those six pages had to be replaced without breaking the language switcher: each German page still had to point to its English and Ukrainian versions, and the German “Visit” page uses the same slug, `visit`, as the English one.

**PRO:** Polylang support is part of the PRO plugin. Without PRO, Content Sync copies the content but not the languages and translation links, and the plugin says so in a notice. Tested with Import Export by RockStarLab 2.2.48 and PRO 2.1.44, Polylang Pro 3.9.2, ACF 6.8.10, WordPress 7.1.5.

## Short Answer

Connect staging and live in Content Sync. On staging, open **Pages** in one language, tick the pages you changed, click **Sync Content**, leave **Send with translations (Polylang)** ticked and click **Push to Site**. The plugin sends the selected pages and their translations, gives each page its language on the live site and links them into the same translation group. Posts, custom post types and WooCommerce products work the same way.

## What Has to Survive the Move

Polylang keeps a page’s language and its translation links in hidden taxonomies. A plain export and import, or a copy without Polylang support, brings the text across and loses those links, so the live site shows three unrelated pages and the language switcher sends visitors to the home page. The sync also has to keep these right:

- Shared slugs. Polylang lets two languages use the same slug. A sync that looks pages up by slug alone can overwrite the English “visit” page with the German one.
- Categories and tags. “Brewing” and “Zubereitung” are separate terms that Polylang links together; the German post has to land in the German term.
- Images. With media translations turned on, each language has its own attachment with its own alt text, even when the file is the same.
- ACF fields that point to other content: a Page Link, a Relationship list, a Taxonomy field, an Image or a Gallery. On the German post, they must point to German pages and German media.

## Step 1: Connect the Two Sites

Install the free plugin and PRO on both sites and activate Polylang on both. The languages do not have to be set up on the live site first: a language that is missing there is added during the first sync. The connection itself is the same as for any other sync; [How Content Sync Works](https://wpimportexport.com/how-content-sync-works-api-keys-push-pull/) explains the API key and the push and pull directions.

## Step 2: Select the Pages in One Language

On staging, open **Pages** with the English language filter in the admin bar. Tick “Our roastery” and “Visit the roastery” and click **Sync Content**. Choose the live site. The option **Send with translations (Polylang)** is on by default:

![Sync Content dialog with 2 posts selected, site QA aie6 chosen and the option Send with translations (Polylang) ticked above Push to Site and Pull from Site](https://wpimportexport.com/wp-content/uploads/2026/11/polylang-sync-content-send-with-translations-1024x482.webp)

_Select pages in one language; their translations go along._

You only select the English pages. With the option on, the German and Ukrainian translations of both pages go along, so this push sends six pages. Untick it to send only the pages you selected, for example after fixing a typo in the German text alone.

## Step 3: Check the Mapping and Push

Click **Push to Site**. The plugin looks for the pages on the live site and shows what it will do with each one. Pages that came from an earlier sync are matched to their copies, so they are updated rather than duplicated:

![Map Posts for Sync: Our roastery and Visit the roastery are matched to Update their copies on the remote site](https://wpimportexport.com/wp-content/uploads/2026/11/polylang-map-posts-for-sync-update-1024x557.webp)

_Pages synced before are updated, not duplicated._

Click **Confirm & Sync**. The matching also respects the language. Our German “Visit” page and the English one share the slug `visit`; each one updated its own copy on the live site, and the English page kept its English text.

## Step 4: Check the Live Site

In the Pages list on the live site, all six pages are there. In the language columns, the flag marks the page’s own language and the pencils link to its two translations, so each page belongs to one translation group:

![Pages list on the live site with Our roastery, Unsere Rösterei, Наша обсмажувальня and their Visit subpages, each with its language flag and pencil links to the two translations](https://wpimportexport.com/wp-content/uploads/2026/11/polylang-live-pages-three-languages-linked-1024x424.webp)

_Six pages on the live site, each linked to its translations._

Subpages keep their parent in the same language: “Besuchen Sie die Rösterei” is a child of “Unsere Rösterei”, not of the English page.

## Posts with ACF Fields and Images

We pushed the post “How to dial in espresso” the same way, with its German and Ukrainian translations: 3 posts updated, 6 images copied. On the live site we checked each language:

| Field | German post on the live site |
| --- | --- |
| Featured image | the German media translation of the photo |
| Category | Zubereitung (the German term linked to Brewing) |
| ACF Image and Gallery | German media translations |
| ACF Page Link | the German “Visit” page |
| ACF Relationship | the German “Our roastery” and “Visit” pages |
| ACF Taxonomy | the German term |

An image used by several languages arrives once, and each post points to the media translation of its own language when the live site has one. ACF User fields point to the same person on the live site: a user synced earlier, or a user with the same login or email. Comments come along with the post, and an ACF image on a comment also points to the file of the post’s language.

A page linked from an ACF field arrives only if you send it too. If the field points to a page that is not on the live site yet, push that page first and the post again.

## Pull Works the Same Way

**Pull from Site** in the same dialog brings content from the live site back to staging, with its translations when the option is ticked. We pulled a post edited on the live site together with its two translations: the three staging posts were updated in place, without new copies and without losing their translation links.

## With an AI Agent

Import Export by RockStarLab gives AI agents its exports, imports and Content Sync as abilities. Through the WordPress MCP Adapter, WordPress itself offers an agent only read-only abilities for site, user and environment information, so without the plugin the agent cannot do the steps above (to connect an agent, see [connecting Claude Code to WordPress](https://wpimportexport.com/connect-claude-code-to-wordpress-mcp/)). With it, one request is enough:

```
With Import Export by RockStarLab, push the post "How to dial in espresso" with its translations from staging to live.
```

The agent calls `rsl-ie/sync-push` with `post_type` `post`, the post ID and `with_translations`, which is true by default. Our run returned “Successfully pushed 3 posts to the remote site”. With `with_translations` set to false, only the selected post is sent.

## Before You Push

A push overwrites the pages it matches on the live site. [Back up the live site](https://wpimportexport.com/how-to-create-a-wordpress-website-backup-and-restore-it/) before the first sync of a multilingual site, and push one page first to see that the languages and links land where you expect.

## FAQ

### Does Content Sync keep Polylang translation links?

Yes, with the PRO plugin. Each page or post gets its language on the receiving site and is linked to its translations there. Without PRO, the content arrives without languages and links.

### Do I have to select every language?

No. Select the pages in one language. With “Send with translations (Polylang)” ticked, their translations are sent too.

### What happens to pages of different languages with the same slug?

Each one is matched only to the page of its own language on the receiving site, so the English and German “visit” pages stay separate.

### Are images and ACF fields translated?

The plugin keeps each language’s own images, terms and linked pages: a German post points to German media, the German category and German pages.

### Do the languages have to exist on the live site?

No. A language that the receiving site does not have is added during the sync.

## Related Guides

- [How Content Sync Works: API Keys, Push, Pull and What Gets Copied](https://wpimportexport.com/how-content-sync-works-api-keys-push-pull/)
- [Dev, Staging, Production: A Content Workflow for Three WordPress Sites](https://wpimportexport.com/dev-staging-production-wordpress-content-workflow/)
- [ACF Relationship Fields Break After Import? How to Fix the IDs](https://wpimportexport.com/acf-relationship-fields-break-after-import/)
- [Export WordPress Content for Translators and Import the Translations Back](https://wpimportexport.com/export-translate-reimport-wordpress-content/)

Get the free plugin on [WordPress.org](https://wordpress.org/plugins/import-export-by-rockstarlab/). Polylang support is part of PRO.
