Title: Posts 2 Posts &#8211; WPML integration
Author: lencinhaus
Published: <strong>7. 9. 2011</strong>
Last modified: 24. 12. 2013

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

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

# Posts 2 Posts – WPML integration

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

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

 * [Podrobnosti](https://cs.wordpress.org/plugins/p2p-wpml/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/p2p-wpml/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/p2p-wpml/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/p2p-wpml/#developers)

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

## Popis

**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)

## Snímky obrazovky

[⌊Settings management⌉⌊Settings management⌉[

Settings management

## Instalace

 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

## Nejčastější dotazy

### Question?

Answer

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

Posts 2 Posts – WPML integration je otevřený software. Následující lidé přispěli
k vývoji tohoto pluginu.

Spolupracovníci

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

[Přeložte “Posts 2 Posts – WPML integration” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/p2p-wpml)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/p2p-wpml/), podívejte
se do [SVN repozitáře](https://plugins.svn.wordpress.org/p2p-wpml/), nebo se přihlaste
k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/p2p-wpml/) pomocí
[RSS](https://plugins.trac.wordpress.org/log/p2p-wpml/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 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

 *  Verze **1.2.5**
 *  Poslední aktualizace **před 13 roky**
 *  Aktivních instalací **100+**
 *  Verze WordPressu ** 3.5.1 nebo novější **
 *  Testováno až do WordPressu **3.6.1**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/p2p-wpml/)
 * Štítky
 * [p2p](https://cs.wordpress.org/plugins/tags/p2p/)[posts to posts](https://cs.wordpress.org/plugins/tags/posts-to-posts/)
   [wpml](https://cs.wordpress.org/plugins/tags/wpml/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/p2p-wpml/advanced/)

## Hodnocení

 5 z 5 hvězdiček.

 *  [  1 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=5)
 *  [  0 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=4)
 *  [  0 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=2)
 *  [  0 1hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/p2p-wpml/reviews/?filter=1)

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

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/p2p-wpml/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/p2p-wpml/)

## Dary

Chtěli byste podpořit vývoj tohoto pluginu?

 [ Přispět na tento plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&encrypted=-----BEGIN+PKCS7-----MIIHXwYJKoZIhvcNAQcEoIIHUDCCB0wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYApcJG9mmUhvVsZbZbMxwTs8tSBDdq1E%2biwo%2fmGEA3DKp1MaWO04urh%2bn5e7W8QA0VLT4PxClF7HtvetQZIxeCIhyghjPHEAu%2blLQKu660Crrbem8J2CMSCiwgPdIsWxivEStRA%2bKXJ%2fEafNUN3CT1W3o2%2bIY21sKoU1acsPy7LsTELMAkGBSsOAwIaBQ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