Title: Posts 2 Posts &#8211; WPML integration
Author: lencinhaus
Published: <strong>September 7, 2011</strong>
Last modified: December 24, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/p2p-wpml.svg)

# Posts 2 Posts – WPML integration

 By [lencinhaus](https://profiles.wordpress.org/lencinhaus/)

[Download](https://downloads.wordpress.org/plugin/p2p-wpml.1.2.5.zip)

 * [Details](https://pcd.wordpress.org/plugins/p2p-wpml/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/p2p-wpml/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/p2p-wpml/#installation)
 * [Development](https://pcd.wordpress.org/plugins/p2p-wpml/#developers)

 [Support](https://wordpress.org/support/plugin/p2p-wpml/)

## Description

**p2p-wpml** is a [WordPress](https://wordpress.org/) plugin that integrates [iCanLocalize’s WPML](http://wpml.org/)
and [Posts 2 Posts](http://scribu.net/wordpress/posts-to-posts).

The following table shows version compatibility between this plugin, other plugins
and WordPress:

 * P2P-WPML 1.0
    - P2P 0.8
    - WPML 2.3.3, 2.3.4
    - WordPress 3.2.1
 * P2P-WPML 1.1
    - P2P 1.3.1
    - WPML 2.5.2
    - WordPress 3.4.1
 * P2P-WPML 1.2.1
    - P2P 1.4.1
    - WPML 2.5.2
    - WordPress 3.4.1
 * P2P-WPML 1.2.2
    - P2P 1.5.2
    - WPML 2.7.1
    - WordPress 3.5.1
 * P2P-WPML 1.2.3
    - P2P 1.5.2
    - WPML 2.7.1
    - WordPress 3.5.1, 3.5.2
 * P2P-WPML 1.2.4, 1.2.5
    - P2P 1.6.2
    - WPML 2.7.1
    - WordPress 3.6.1

This plugin has been only tested with the above version combinations; different 
versions of WordPress or the plugins may break this plugin’s functionality so use
it at your own risk.

#### Features

 * **Synchronization of connections between translations**:
    - when a new connection is created between two posts (the origin and the destination),
      each translation of the origin will be connected to the translation of the
      destination in the corresponding language (if both exist);
    - when a connection between two posts is deleted, all the connections between
      the translations of those two posts will be deleted (where they exist);
    - when a new translation of a given post is created, for each connection between
      the original post and another post (the destination), a new connection is 
      created between the translated post and the translation of the destination
      post in the corresponding language (if it exists), and metadata from the original
      connection are copied to the new connection.
 * **Synchronization of connection metadata between translations**:
    - when metadata are created, updated or deleted on a connection between to posts(
      the origin and the destination), metadata of connections between the translations
      of the origin and destination posts are updated accordingly; this includes
      when a new connection is created on the original posts and its metadata are
      initialized with default values.
 * **Only connectable posts in the current language are shown in the P2P metaboxes**:
    - without this plugin, when you edit a post translation (not in the default 
      language), the P2P metaboxes only show connectable posts in the default language.

#### Caveats

 * Currently this plugin doesn’t manage multiple connections between the same posts(
   a single connection will be created between the translated posts).
 * Currently the synchronization feature is NOT retroactive: all connections created
   before plugin activation will not be synchronized (it can still be done manually
   as without the plugin).
 * This plugin can break P2P cardinality checks, so you shouldn’t specify a cardinality
   when creating connection types.

Links: [**Github**](https://github.com/cubica/p2p-wpml) | [Author’s Site](http://www.cubica.eu)
| [Twinpictures](http://plugins.twinpictures.de)

## Screenshots

 * [[
 * Settings management

## Installation

 1. Extract the downloadable archive inside _wp-content/plugins_, and activate in WordPress
    administration.
 2. The plugin can be configured accessing the **Posts 2 Posts** link inside the **
    WPML** settings menu.

**IMPORTANT**:

 * The synchronization feature (both connections and connection metadata) is _DISABLED_
   by default
 * The language filtering feature is _ENABLED_ by default

## FAQ

### Question?

Answer

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Posts 2 Posts – WPML integration” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ lencinhaus ](https://profiles.wordpress.org/lencinhaus/)
 *   [ Baden ](https://profiles.wordpress.org/baden03/)
 *   [ twinpictures ](https://profiles.wordpress.org/twinpictures/)

[Translate “Posts 2 Posts – WPML integration” into your language.](https://translate.wordpress.org/projects/wp-plugins/p2p-wpml)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/p2p-wpml/), check out
the [SVN repository](https://plugins.svn.wordpress.org/p2p-wpml/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/p2p-wpml/) by [RSS](https://plugins.trac.wordpress.org/log/p2p-wpml/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.5

 * Fix strict standards warnings

#### 1.2.4

 * Fix metas sync when creating connections programmatically

#### 1.2.3

 * Compatibility with WordPress 3.5.2
 * Changes init hook priority for the hack handling duplicates

#### 1.2.2

 * Compatibility with P2P 1.5.2, WPML 2.7.1 and WordPress 3.5.1
 * Directory name agnostic plugin dependency check, fixes for compatibility, duplication
   of posts and users connections

#### 1.2.1

 * Fixed notices, see issue https://github.com/cubica/p2p-wpml/issues/7

#### 1.2

 * Compatibility with P2P 1.4.1
 * Support for connections between posts and attachments/users
 * P2P meta synchronization
 * Added warning if WPML and/or P2P are not active
 * General refactoring of the synchronizer
 * Bug fixing

#### 1.1

 * Correctly loads the ui.js script for p2p v.1.3.1+
 * Compatibility with P2P 1.3.1 and WPML 2.5.2

#### 1.0

 * First version

## Meta

 *  Version **1.2.5**
 *  Last updated **12 years ago**
 *  Active installations **100+**
 *  WordPress version ** 3.5.1 or higher **
 *  Tested up to **3.6.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/p2p-wpml/)
 * Tags
 * [p2p](https://pcd.wordpress.org/plugins/tags/p2p/)[posts to posts](https://pcd.wordpress.org/plugins/tags/posts-to-posts/)
   [wpml](https://pcd.wordpress.org/plugins/tags/wpml/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/p2p-wpml/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/p2p-wpml/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/p2p-wpml/reviews/)

## Contributors

 *   [ lencinhaus ](https://profiles.wordpress.org/lencinhaus/)
 *   [ Baden ](https://profiles.wordpress.org/baden03/)
 *   [ twinpictures ](https://profiles.wordpress.org/twinpictures/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/p2p-wpml/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&encrypted=-----BEGIN+PKCS7-----MIIHXwYJKoZIhvcNAQcEoIIHUDCCB0wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYApcJG9mmUhvVsZbZbMxwTs8tSBDdq1E%2biwo%2fmGEA3DKp1MaWO04urh%2bn5e7W8QA0VLT4PxClF7HtvetQZIxeCIhyghjPHEAu%2blLQKu660Crrbem8J2CMSCiwgPdIsWxivEStRA%2bKXJ%2fEafNUN3CT1W3o2%2bIY21sKoU1acsPy7LsTELMAkGBSsOAwIaBQAwgdwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQInnGO1bQx5jKAgbhOgr%2bWRywvJo9Ey9SPB%2b90JUxX2zAFgdJrGM2%2fgW%2f5WIybb6zd%2baQgslt2NdwbcfXLOO93rVH6DBrFViIpkc6CKo0Pc6hZFimFASx%2b%2fRgnhU8eIRMnhTU41htTrS7mXvyu9zxMPzBrBC5xEbP3g765dImA0C50nn49RpMUo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