外掛說明
外掛功能
- 匯入語言及 WPML 選項 (如果 Polylang 有相同的選項)。
- 匯入內容及分類法詞彙的語言及譯文 (包含自訂內容類型及自訂分類法)。
- 匯入多語系導覽選單。
- 匯入字串譯文。
- 不刪除 WPML 資料。
重要提示
由於 Polylang 的資料是在不刪除任何資料的狀況下所建立,因此 WPML 的資料理應不會損毀,但仍建議在開始移轉資料前備份網站資料庫。
使用方式
- 停用 WPML。
- 啟用 Polylang (或 Polylang Pro) 及 WPML to Polylang。不要使用 Polylang (或 Polylang Pro) 建立任何語言,因為匯入資料後便會自動建立。
- 前往 [工具]→[WPML 匯入程式]。
- 確認通過全部檢查後,點擊 [匯入]。
- 停用 WPML to Polylang (也可以直接刪除)。
- 將語言切換器設定為小工具或導覽選單。
- 檢查是否一切正常。
- 如果執行時發生錯誤,並且要還原回 WPML,請刪除 Polylang。如需刪除 Polylang 建立的資料,請在刪除 Polylang 之前參閱這篇說明。
注意事項
這個外掛不包含錯誤管理,但它已成功通過移轉大約 9 千篇文章及媒體檔案的網站的測試。
致謝名單
外掛橫幅及圖示由 Alex Lopez 設計。
使用者評論
2023 年 3 月 28 日
Works great, but just a little correction in process: you have to remove WPML completely (google for that, that’s not so easy, that’s just about removing the plugin) once you imported everything to Polylang. Before WPML removal, my translation didn’t work on secondary language. But now everything is ok! Big thanks to developers!
2022 年 12 月 8 日
Thank you for the plugin. Migrated from WPML to Polylang with a few clicks.
2022 年 6 月 20 日
I just came to say thanks for this awesome plugin)
2020 年 7 月 11 日
Nice!
2020 年 6 月 17 日
Very helpful plugin. Tried to move manually – spent an hour for average-sized website, found, that a bunch of details are still to set, and started from scratch with this plugin – did in 3 minutes, including downloading.
2019 年 9 月 1 日
I rarely leave reviews but this plugin warrants one. After weeks and weeks of problems with WPML i finally switched to Polylang and this plugin made that process of transferring my already translated pages and templates from WPML so Polylang so easy and straightforward. Complete transfer in 2 seconds! Big thanks to the developers of this one!!
參與者及開發者
變更記錄
0.6 (2023-08-10)
- Min Polylang version is now 3.4
- Fix deprecated notices with Polylang 3.4
- Fix infinite loop when processing objects without language with Polylang 3.4
0.5 (2022-12-05)
- Complete rewrite to avoid issues with PHP memory limit and MySQL buffer size. Props Jeremy Simkins for lot of ideas. #19
- Simplify the UI and attempt to clarify error messages.
- Fix languages order not imported.
- Fix media translation setting not imported.
- Fix nav menu locations per language.
0.4 (2021-01-19)
- Min Polylang version is now 2.8
- Fix languages incorrectly imported with Polylang 2.8+
- Fix media translation option incorrectly imported #7
0.3.1 (2019-12-26)
- Fix PHP notices
0.3 (2019-06-27)
- Min Polylang version is now 2.6 #3
- Fix the front page label not displayed for translations in the pages list table #4
- Fix deprecated notice related to the screen icon
0.2.5 (2018-08-22)
- Fix flags and rtl property not correctly imported
0.2.4 (2017-10-03)
- Fix incompatibility with WP 4.8.2 (placeholder %1$s in prepare)
0.2.3 (2017-08-16)
- Assign the default language to objects without language in the ‘icl_translations’ table
- Fix term languages not correctly imported
- Fix unprepared SQL query (thanks to @grapplerulrich)
0.2.2 (2016-09-12)
- Fix: Don’t import the empty strings translations as it breaks Polylang
0.2.1 (2016-05-06)
- Allow plugin localization from translate.wordpress.org
0.2 (2015-11-19)
- Ready for Polylang 1.8, min Polylang version is 1.5, min WP version is 3.5
- Adopt WordPress coding standards
- Fix: database error when importing categories translations
0.1.4 (2014-06-24)
- Fix: after import, updating a page deletes all translation relationships
0.1.3 (2014-06-15)
- Fix: strings translations are not saved
0.1.2 (2014-06-06)
- Add: “success” message
- Fix: incompatibility with Polylang 1.5
- Fix: taxonomy terms translations incorrectly mapped as WPML uses term_taxonomy_id whereas Polylang uses term_id
- Fix: bug with custom post types and custom taxonomies
0.1.1 (2014-05-01)
- Bug fixes