# WordPress connector

> Connect a project to your WPML site so translation jobs arrive on their own and translations are sent back without moving files - what it needs, how to set it up, and what automatic sync will and will not do.

> Canonical HTML: https://aixlifftranslate.com/docs/wordpress-connector/
> Last updated: 2026-12-03

The connector is a second way to do the round trip. Instead of exporting files from WPML and
importing them back, you connect a project to your site: the translation jobs waiting in WPML
arrive here, and the finished translations are sent back to WPML.

Uploading files works exactly as before and still needs nothing installed - that round trip is
described in [Getting started](/docs/getting-started/). The connector is optional, and it is the
only part of this service that asks for a plugin on your site.

**Early access.** The connector is new, and the plugin it needs is not in a plugin directory.
Write to [aixlifftranslate@gmail.com](mailto:aixlifftranslate@gmail.com) and we will send it to
you with instructions, or the single file that does the same if you would rather not install a
plugin.

## Files or the connector?

Both end in the same place: ordinary WPML translations in your WordPress install.

**Keep using files** if you want nothing installed on your site, if you translate now and then,
or if you cannot add a plugin.

**Use the connector** if you send content to translation regularly and moving archives in and
out of WordPress is the part you would like to stop doing - or if you want translation to run
without you.

A project can do both. Connecting a site does not stop you uploading files to the same project.

## What your site needs

- **WPML with Translation Management** - the same as for files.
- **https.** The site must be served over a secure connection.
- **The connector, version 1.1.2 or newer**, in one of two forms. Both let the service list the
  translation jobs waiting on your site, export them and import their translations - the things
  you would otherwise do by hand in WPML. Install one or the other, never both.

### The plugin (recommended)

1. Upload the zip under **Plugins - Add New - Upload Plugin** and activate it.
2. Open **Settings - AI XLIFF Connector** and press **Create connector user**. The plugin creates
   a user with the Editor role and WPML's translate capability, and an application password for
   it that only works on the plugin's API. It shows the password once, in a block of three lines.

### The single file

For sites that would rather not install a plugin.

1. Upload `aixliff-connector-lite.php` to your site's must-use plugins folder,
   `wp-content/mu-plugins/` (create the folder if it is missing). Must-use plugins load on their
   own, so there is nothing to activate. The file also adds a page under **Tools** to export and
   import by hand.
2. Choose the account the connector signs in as: a user with the **WPML Translator** or
   **Translation Manager** role (an editor is a good choice), never an administrator.
3. Create an application password for that user: **Users - Profile - Application Passwords**.
   Give it a name, add it, and copy the password WordPress shows. It is shown once.

To send content to translation from the app with the single file, the account needs the
**Translation Manager** role.

The difference that matters: the password the single file uses is a full login for its user, on
the whole site. The plugin's own password only works on the connector. So pick the account with
care, and prefer the plugin when you can.

## Connect a project

In the app, open **WordPress** in the main menu (it opens the project you are working in), or open
**Projects** and press the project's **WordPress** button.

1. **Site URL** - with the plugin, paste the three lines it showed you here, and all three
   fields are filled in. Typed by hand, it is the public address of the site, starting with
   `https://`. A WordPress in a subdirectory keeps its path. If you paste an address from the
   admin area, it is trimmed back to the site for you.
2. **WordPress username** - the connector account.
3. **Application password** - the one the plugin showed, or the one you created. With or without
   the spaces; WordPress accepts both.
4. **Save and test connection.**

A successful test shows which connector answered (the plugin or the single file) and its
version, the WPML version and your site's languages. The page then opens on its **Overview**.

## The project's WordPress page

**WordPress** in the main menu opens it for the project you are working in (on a phone or a small
screen, the menu sits behind the button at the top right). **Projects → WordPress** opens it for
any project.

Once the site is connected, the page has five parts, each a page of its own:

- **Overview** - what needs you: a connection that stopped working, a sync that failed, downloaded
  jobs waiting for your go-ahead, files your site refused or that wait for your review. Below it,
  the buttons to sync now, and **Check the site now**. The page opens here.
- **Send content** - your site's pages and posts, to send to translation from here.
- **Files** - every WPML job that arrived through the connector and what happened to it. The counts
  at the top filter the list (sent in the last 24 hours, ready to send, waiting for review, refused,
  translating), and you can search it by page title, translation job name or WPML job number.
  While you search, each count shows how many files of that kind the search finds.
- **History** - every sync that reached your site, and how long each request took.
- **Settings** - automatic sync and its settings, **Pause the connector**, and the connection
  itself: the password, **Test connection** and **Disconnect**.

The top of every page shows whether the connection works, whether automatic sync is on, the last
sync and a sync that is running. If you leave a page with something unfinished - settings not
saved, items ticked and not sent - it asks first.

One site per project. A second site is a second project - which is what a project already means
here: one website, one voice.

The password is stored encrypted and is never shown again, not even to you. To replace it, press
**Issue a fresh password** under **Settings - AI XLIFF Connector** (the plugin) or create a new
application password in WordPress (the single file), and paste the new one here.

## What the connection test tells you

The test says in plain words what is wrong. These are the messages you can meet, and what fixes
each one.

**Connected.** Nothing to do.

**The site rejected the username or application password.** The password is wrong or was
revoked. Issue a new one - **Issue a fresh password** under **Settings - AI XLIFF Connector**,
or a new application password with the single file - and paste it under **Update the
connection**, in the WordPress page's **Settings**.

**The credentials work, but this user cannot translate on the site.** The account has no WPML
translator role. With the plugin, **Settings - AI XLIFF Connector** says so and **Give back the
translate capability** fixes it; with the single file, make the account a Translator or a
Translation Manager.

**The site answered with a web page instead of the connector API.** Either WordPress is not at
that address, or a firewall stopped the request. Check the address. If it is right, ask your
host to allow requests to the connector's address on your site, which begins with
`/wp-json/aix/v1/`.

**WordPress answered, but the connector did not.** The plugin is not installed or not
active, or the single file is not in `wp-content/mu-plugins/`.

**The connector on the site is older than this service expects.** Write to us for the
current plugin or file, and put it in place of the old one.

**The site could not be reached.** Check the address, and that the site is online and open to
the internet. A site on a private network cannot be connected.

**The site is online but took too long to answer.** The site was busy, or the work took longer
than we wait for one answer. It is tried again on the next run, which is safe. If it keeps
happening, write to us.

**Your site refused one file as larger than it accepts in one upload.** Files are sent to your
site in small groups, and a group your site finds too large is sent again in smaller ones. This
message means a single file is over your hosting's upload limit. Ask your host to raise it (for
example `LimitRequestBody`, `client_max_body_size` or `post_max_size`), then try again.

**The site redirected the request.** You entered an address that forwards somewhere else. Enter
the final one: `https`, and the domain the site really lives on.

**The saved password could not be read.** Paste the application password again under **Update
the connection**.

**That site URL is not accepted.** The address must be a public `https` address.

## Jobs arrive, you review, you push

### Jobs arrive

The WPML jobs waiting on your site - the content you sent to translation that nobody has
finished yet - become a job here, like an upload you did not have to make. Each WPML job is one
file in it.

They are translated exactly like an upload: with the project's voice profile, its protected
terms and its cache, and billed the same way. The project needs a voice profile, as for any
translation - see [Brand voice](/docs/voice-profiles/).

Jobs arrive on a schedule once **automatic sync** is on - see below. Without it, press **Pull
now** on the WordPress page's **Overview**: the waiting jobs are downloaded and you see there what
they will cost before anything is translated. Press **Translate** to start, or **Discard** to leave
them on your site. Downloaded jobs you do not confirm within a day are discarded on their own.

The job's page shows that it was pulled from WordPress, from which site, and when.

### Send content to translation from here

You do not have to open WPML to start. On the WordPress page, **Send content** lists your site's
pages and posts with the state of each language: missing, needs update, queued, in progress or
done. Tick the ones to translate and press **Send to translation**. Your site creates the WPML
jobs, the same ones **Translate myself** creates in WPML's Translation Dashboard, and they arrive
here like any other.

- A language that is already queued or in progress is never sent again.
- Sending a language marked *needs update* translates the page again and replaces its
  translation, including anything changed in it by hand in WordPress since. WPML marks a language
  *needs update* whenever a save changes the original, even a typo fix, so send it only when the
  original really changed.
- Each item shows how many words it holds. For the items you tick, the card shows what translating
  them costs at most, before you send anything.
- Tick **Start syncing right away** to start the sync at once. Without automatic sync the box
  reads **Download the jobs right away**, and you still see the price before anything is
  translated. Leave it unticked and the jobs wait on your site for the next sync.
- It needs version 1.1.7 of the connector plugin (1.1.8 for the word counts and the price), or
  version 1.2.4 of the single file.

### Tell the AI about a page or a field

- **A page** - write it in WPML's *note to translators*, on the page in WordPress. The note travels
  with the job, and the AI gets it as background for every text of that page. The file's review page
  shows it as **From WordPress**.
- **A field** - on the project's **Field rules** page, add a note to the field, for example "a
  WhatsApp message the guest sends; the guest is the one speaking". The AI gets it with every text of
  that field, on every page and in every language, automatic sync included. Saving it can forget your
  saved translations of that field, so the page asks first: confirm, and they are translated again
  when their page comes up, or save the note and keep them. Wording you protected stays.

A note is a hint: the AI may overlook it. A correction you save on a text is remembered as you wrote
it.

The **Field rules** page lists the fields your translations have contained. The custom fields of
your theme and plugins come first. WordPress's own and Yoast's fields are folded below: a setting
on one of them reaches every page, so the page asks first, and the page's own text cannot be set to
*Never translate*.

### Review

Review it like any other job. Reading, editing and marking units as reviewed sends nothing to
your site.

### Push to WordPress

On the job's page, open **Actions** and choose **Push to WordPress**.

1. Your site first *checks* every file without writing anything, and you see its verdict for
   each one.
2. The button to send appears only when every file passed.
3. Pressing it runs the check once more, and then imports the translations into WPML, one file
   after another. The dialog shows each file as it goes; you can close it, and the push goes on.

Two choices in the dialog:

- **Finish the WPML job on the site** - on, unless you changed the project's setting. The
  translation goes live according to WPML's settings. Untick it to only save the text and let
  someone finish the job in WPML.
- **Only files whose cards are all reviewed** - leaves out any file with a unit you have not
  marked as reviewed. A file is sent whole or not at all.

Things worth knowing:

- Every file is rebuilt from what is stored here at that moment, so each edit you made in
  review is included.
- A file that still has untranslated units is never sent. Continue the job first.
- If a push stops part-way - your site stopped answering, say - push again: what was already sent
  stays sent, and sending a file twice does no harm.
- A field your original page leaves empty is emptied in its translations too, from version 1.1.5
  of the connector plugin. WPML on its own leaves an empty field out of the translation, so the
  translation kept its old value. To find translations sent before that still show one, open
  **Tools → AI XLIFF export / import** on your site and press **Check translations** under
  *Fields the original leaves empty*.
- Push to WordPress is offered on jobs that arrived through the connector. A job you uploaded as
  files goes back as files.

## A file your site refuses

Your site's check is all-or-nothing, so one refused file holds the others back.

The usual cause is that the WPML job was cancelled or deleted on the site after it arrived here.
The dialog shows the reason your site gave.

Next to a refused file is **Stop sending this file**. It closes that file here - nothing is sent
to your site - and runs the check again without it, so the rest can go.

Once you have fixed the cause on your site, **Send again now** next to the file on the WordPress
page's **Files** sends it at once. A refusal of a file you sent yourself does not count towards
automatic sync giving up on it. **Stop sending** is there too.

A file you stopped is not brought in again on its own. If you stopped one by mistake, write to
us.

## Automatic sync

On the WordPress page's **Settings**: **Sync automatically**. It is off until you switch it on.

Ticking the box first asks your site how many WPML jobs are waiting, and shows you the number.
Nothing is switched on until you press **Turn on automatic sync**.

Once on, on a schedule:

- new WPML jobs are pulled from your site, a batch at a time, and translated with the project's
  voice profile;
- finished translations are pushed back, and the WPML job is finished.

Translation then starts - and counts towards your usage - without anyone clicking. That is the
point of it, and the reason it asks first.

It is not instant. Jobs are picked up on the next scheduled run, not the moment you send
something to translation in WPML.

### Start one yourself

To sync without waiting for the schedule, press **Sync now** on the **Overview**. Without automatic
sync there are **Pull now** (see *Jobs arrive* above) and **Send finished jobs now**. Each first
asks your site what is waiting and tells you what is about to happen, then runs in the background;
the top of the page shows when it is done. One runs at a time, and the next can start a few
minutes after.

### What it will not do on its own

- **Send a file that still needs your attention.** A file with a flagged unit waits until you
  review that unit, and goes on a later run.
- **Restart a job you stopped.**
- **Retry for ever.** A job that keeps failing is tried again a few times, then left alone, and
  the job says so.
- **Keep sending a file your site refuses.** It is tried again some hours later. After the
  number of refusals you chose it is no longer sent, and your site's reason is kept on the job.
- **Pull past a daily limit.** Pulling pauses, and the page says until when. Finished
  translations are still sent meanwhile.
- **Bring in interface strings sent from WPML.** Jobs of WPML String Translation strings created
  in WPML's own dashboard are left on your site.

### Settings for this project

On the **Settings** page, under **Sync automatically**. Each one starts at a default you can
change.

- **Translation quality** - the tier your pulled jobs are translated with. A higher one costs more,
  so the daily limit is reached sooner. Jobs already pulled keep theirs.
- **Short texts on Pro** - with the Plus tier, how many of your short texts are translated on Pro,
  where the difference shows most: none, only texts of up to six words, texts under thirty words, or
  those and your interface strings. Each of these also sends the SEO title and meta description to
  Pro, and the widest adds the social titles and descriptions and the focus keyword. With none
  chosen, a checkbox under the list sends only the SEO title and meta description. The page shows
  what your last pulled job would have cost with each. Jobs that already started, and texts
  translated before, keep what they have.
- **SEO texts that leave out a protected word** - for texts written with
  [SEO instructions](/docs/voice-profiles/#seo-titles-and-descriptions). By default the page waits
  for your review; you can choose to send it and list the text.
- **Daily limit** - an amount in your currency. Once automatic translation has cost that much in
  24 hours, new jobs wait; finished translations are still sent. Leave it empty for no limit of
  your own. Beside it you see what was used in the last 24 hours. Two things to know: amounts
  follow the current price list, so if prices change the same limit is reached earlier or later;
  and the limit is checked before a pull starts, so the pull that crosses it is not cut short.
- **Stop sending a file the site refuses** - after how many refusals, from 1 to 5.
- **Finish the WPML job** - on by default. Off saves the translation on your site and leaves the
  WPML job open, so someone completes it in WordPress. It is also what the Push to WordPress
  dialog starts with.
- **Hold files that need a review** - on by default. Turning it off asks you to confirm, and for
  good reason: a file is then sent even when a unit in it was flagged - for example one where
  the original text was kept because no translation passed the checks. Nobody looks at it first.

### Pause the connector

**Pause the connector**, on the **Settings** page, stops everything for the project - pulling,
pushing and automatic sync - until you resume it. The page, **Test connection** and the settings
keep working while it is paused, and pausing does not change whether automatic sync is on. While
it is paused, the **Overview** says so and has a button to resume.

### When a sync fails

The top of every page shows the last sync and whether one is running now. The **Overview** lists
anything waiting for you: jobs that need your attention, files held for a review, files your site
refused.

To see what is waiting on your site before a sync runs, press **Check the site now** on the
**Overview**. It asks your site which WPML jobs are waiting and shows what the next sync will do
with each one: pull it, leave it because it is already being translated or was already sent, or
leave it for a later sync. Nothing is pulled, sent or changed.

If a sync fails - a changed password, the site offline - the Overview says why and when the next
attempt is. Attempts are spaced further apart each time. Once you have fixed the cause, press
**Test connection** beside it and it tries on the next run instead of waiting.

## Questions

### Is my password safe?

It is not your own password. It is an application password for the connector account, which is
an editor or a translator, never an administrator. With the plugin it only works on the
connector's API; with the single file it is a full login for that account, which is why the
account matters. It is stored encrypted and never displayed again. And you can revoke it in WordPress at any moment -
under **Users**, on the connector account's profile, **Application Passwords** - which ends the
connection whatever this service does.

### Can I stop it?

At three levels. Untick **Sync automatically** and nothing more starts on its own; you can still
push by hand. **Pause the connector** and nothing moves in either direction until you resume.
**Disconnect** and the saved password is deleted.

### What happens if I disconnect?

The saved password is deleted, and nothing more is pulled from or sent to your site.
Translations already on your site stay there. Jobs already here stay here, with their
translations.

Push what you want on your site *before* you disconnect. A job that arrived through a connection
cannot be pushed once that connection is removed, even if you connect the same site again.

### Does it cost more?

No. Translation that arrives through the connector is priced like any other translation, and
duplicates and cache hits still cost nothing.

### Is the file workflow going away?

No. Files remain the default, and they need nothing installed on your site.
