Title: [Plugin: Posts 2 Posts] P2P   WPML = problem when connecting posts
Last modified: August 19, 2016

---

# [Plugin: Posts 2 Posts] P2P WPML = problem when connecting posts

 *  Resolved [MDesigner](https://wordpress.org/support/users/mdesigner/)
 * (@mdesigner)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/)
 * First of all, thanks for a great plugin!
 * Sadly, I ran up against difficulties trying to make Posts 2 Posts (0.5.2-alpha)
   and WPML Multilingual CMS plugin work together.
 * When editing post in secondary language eg. German and trying to select connected
   posts, I get results from English posts (default language). After saving, the
   chosen connections (the English ones – because it’s impossible to choose German
   posts) disappear from metabox. They are stored in the database, but connection
   from German post to English post obviously doesn’t show on website.
 * Does anyone have any idea how to solve this problem?‎
 * I’ve used Posts 2 Posts (0.2) with WPML Multilingual CMS plugin before and it
   worked OK (probably because v0.2 stores data in wp_postmeta table and WPML translates
   connected posts’ IDs).

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [15 years ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957644)
 * I am also having the exact [same issue with Post 2 Post and WPML](http://wordpress.org/support/topic/plugin-posts-2-posts-connecting-on-a-multilingual-site-wpml).
   Thought I would give this issue a bump, and check if you have found a solution
   before I go into the post2post plugin and start doing hack surgery.
 * The key issue seems to be: if the post is an EN post it should only show available
   connections in the EN language. Maybe place a switch when registering the connection…
 * Any ideas or suggestions are greatly appreciated.
 *  [Amir Helzer](https://wordpress.org/support/users/amirhelzer/)
 * (@amirhelzer)
 * [15 years ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957645)
 * We can work on this together with the author of the P2P plugin.
 * If you’re listening, contact us and I’ll create an account for you on WPML.org,
   so that you can access the recent versions.
 * [http://wpml.org/documentation/theme-compatibility/go-global-program/](http://wpml.org/documentation/theme-compatibility/go-global-program/)
 *  [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [15 years ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957646)
 * [@amirhelzer](https://wordpress.org/support/users/amirhelzer/): Sounds like a
   plan! I will write [scribu](http://profiles.wordpress.org/users/scribu/) direct
   and let him know (in case he missed this thread). Thanks for your quick response
   and willingness to help.
 *  Thread Starter [MDesigner](https://wordpress.org/support/users/mdesigner/)
 * (@mdesigner)
 * [15 years ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957647)
 * Hi Baden, unfortunately I’ve ended up with dirty hacks. But it works 😉
 * It would be great if P2P becomes compatible with WMPL (or the other way around)
   in future releases.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [15 years ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957648)
 * I do not have time to learn the internals of the WPML plugin, but I am willing
   to add actions and filters to P2P, as necessary.
 *  [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957668)
 * [@scribu](https://wordpress.org/support/users/scribu/), AmirHelzer is willing
   to help with the [filters and actions needed for WPML integration](http://wpml.org/documentation/theme-compatibility/go-global-program/).
   If you would be willing to add me as a contributor to your plugin, I would be
   very happy to work with Amir and fork a version of Posts 2 Posts that works with
   WPML sites. All changes would be documented, so that you could easily include
   them in your next release if you like. What do you think?
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957669)
 * [@baden](https://wordpress.org/support/users/baden/): I recommend you fork it
   on github:
 * [http://github.com/scribu/wp-posts-to-posts/](http://github.com/scribu/wp-posts-to-posts/)
 * Advantages:
 * 1) You don’t need permission from anyone; just a free github account.
 * 2) I can easily see what you’re doing and just as easily merge your changes.
 * If you don’t know how to use git yet, learn. It’s worth it. 😉
 *  [Baden](https://wordpress.org/support/users/baden03/)
 * (@baden03)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957670)
 * [@scribu](https://wordpress.org/support/users/scribu/): Thanks for the tip. I’ll
   do exactly that. Again, thanks for the amazingly useful plugin, it is by far 
   one of the more useful ones out there.
 * github, here I come.
 *  Plugin Author [scribu](https://wordpress.org/support/users/scribu/)
 * (@scribu)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957671)
 * Follow-up: [http://github.com/scribu/wp-posts-to-posts/issues/12](http://github.com/scribu/wp-posts-to-posts/issues/12)
 *  [lencinhaus](https://wordpress.org/support/users/lencinhaus/)
 * (@lencinhaus)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957696)
 * Check out our new [p2p-wpml plugin](https://github.com/cubica/p2p-wpml), it should
   solve most of the integration issues you reported. Hope that helps, bye!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘[Plugin: Posts 2 Posts] P2P WPML = problem when connecting posts’ is 
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/posts-to-posts_7a8e9d.svg)
 * [Posts 2 Posts](https://wordpress.org/plugins/posts-to-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-to-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-to-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-to-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-to-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-to-posts/reviews/)

 * 10 replies
 * 5 participants
 * Last reply from: [lencinhaus](https://wordpress.org/support/users/lencinhaus/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-posts-2-posts-p2p-wpml-problem-when-connecting-posts/#post-1957696)
 * Status: resolved