[WordPress] 外掛分享: Posts 2 Posts – WPML integration

前言介紹

  • 這款 WordPress 外掛「Posts 2 Posts – WPML integration」是 2011-09-06 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2013-12-24,距離現在已有 4149 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5.1 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

baden03 | lencinhaus | twinpictures |

外掛標籤

p2p | wpml | SitePress | icanlocalize | posts to posts |

內容簡介

p2p-wpml 是一個 WordPress 外掛,用於整合 iCanLocalize 的 WPML 和 Posts 2 Posts。

以下的表格顯示了此外掛和其他外掛以及 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

此外掛僅與上述版本組合進行過測試; 不同版本的 WordPress 或其他外掛可能會破壞此外掛的功能,因此使用時請自行承擔風險。

功能

連結翻譯之間的同步:

當建立兩個文章之間的新連結(原點和目的地),原點的每個翻譯都會與對應語言的目標地點的翻譯相連接(如果皆存在);
刪除兩個文章之間的連結時,會刪除那兩個文章之間所有翻譯之間的連結(如果存在);
當建立一個文章的新翻譯時,作為原點文章和另一個目的地文章(執行目的地操作)之間的每個連結,會在對應語言中建立翻譯文章和目標地點翻譯之間的新連結(如果存在),並複製來自原始連結的元數據。

連結翻譯之間的同步元數據:

當在兩個文章之間的連結(原點和目的地)上創建、更新或刪除元數據時,將相應地更新原點和目的地文章之間翻譯的連結元數據; 包括在原始文章上創建新連結並使用默認值初始化元數據時。

僅在當前語言中可連接的文章顯示於 P2P metaboxes 中:

如果沒有此外掛,當您編輯文章翻譯(非默認語言)時,P2P metaboxes 僅會顯示默認語言中可以連接的文章。

注意事項

目前此外掛不處理在相同文章之間的多個連結(將創建翻譯文章之間的單個連結)。
目前同步功能不具備後補功能: 所有在啟用外掛之前創建的連結都不會同步(仍可像沒有外掛一樣手動操作)。
此外掛可能會破壞 P2P 基數檢查,因此在創建連接類型時不應指定基數。

連結: Github | 作者網站 |

原文外掛簡介

p2p-wpml is a WordPress plugin that integrates iCanLocalize’s WPML and Posts 2 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 | Author’s Site | Twinpictures

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Posts 2 Posts – WPML integration」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 | 1.1 | 1.2 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.2.5 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon