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:

Review your settings and then click Save.

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 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.
Last updated