> For the complete documentation index, see [llms.txt](https://docs.acpt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.acpt.io/integrations/wpml-polylang.md).

# WPML/Polylang

WPML Integration

Once WPML or Polylang is detected, a specific page will be available under ACPT.

To generate the wpml-config.xml file, click on the button or move to the Custom settings tab:

<figure><img src="https://3235524095-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fiyf0tSKPgXiyoQ3zV3I6%2Fuploads%2Fael2qgygWBgmH0VTDHRb%2FSchermata%20del%202025-07-10%2013-07-39.png?alt=media&amp;token=cb45e655-dbb5-4b48-b79c-204b1c57615d" alt=""><figcaption></figcaption></figure>

Review your settings and then click **Save**.

<figure><img src="https://3235524095-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fiyf0tSKPgXiyoQ3zV3I6%2Fuploads%2FRGiCbxgnsOUDVwmMpLeJ%2FSchermata%20del%202025-07-10%2013-07-54.png?alt=media&amp;token=da109adc-22ae-4d2b-afb3-82c9e0d05e32" alt=""><figcaption></figcaption></figure>

Your configuration is now correctly loaded. The `wpml-config.xml` file will be generated inside the `advanced-custom-post-type` folder.

A typical configuration file is like this:

```xml
<?xml version="1.0"?>
<wpml-config>
  <custom-types>
    <custom-type translate="1" display-as-translated="1" automatic="1">movie</custom-type>
  </custom-types>
  <taxonomies>
    <taxonomy translate="1" display-as-translated="1">genre</taxonomy>
  </taxonomies>
  <custom-fields>
    <custom-field label="A - Barcode" action="copy" style="line">a_barcode</custom-field>
    <custom-field label="A - Image" action="ignore" style="line">a_image</custom-field>
    <custom-field label="A - Text" action="translate" style="line">a_text</custom-field>
  </custom-fields>
</wpml-config>

```

For more information about WPML configuration file, please refer to [the official documentation](https://wpml.org/documentation/support/language-configuration-files/).
