WPML to Polylang

Description

Features

  • Imports languages and WPML options (when the same options exist in Polylang).
  • Imports posts and terms languages as well as translations (including for custom post types and custom taxonomies).
  • Imports multilingual nav menus.
  • Imports strings translations.
  • Does not delete WPML data.

Important

Although WPML data should not be corrupted, as Polylang data are created without deleting anything, make a database backup before proceeding.

How to proceed?

  • De-activate WPML
  • Activate Polylang and WPML to Polylang. Do not create any language with Polylang (they will be imported).
  • Go to Tools -> WPML Importer.
  • If all checks are passed, you can click on ‘Import’.
  • De-activate WPML to Polylang (You can even delete it).
  • Setup a language switcher either as a widget or in nav menus.
  • Check that everything is OK.
  • If something went wrong and you want to revert to WPML, you can delete Polylang using the red link in the Plugins table (If you want to delete all data created for Polylang, you need to add define( 'PLL_REMOVE_ALL_DATA', true ); before deleting Polylang) and then re-activate WPML.

Notes

This plugin does not include error management. It has however been tested successfully to migrate a site with about 9,000 posts and media.
As everything is processed in one unique step, big sites may require to tweak the PHP memory limit and MySQL buffer size.
It has been tested with WPML 4.4.8. It has also tested on multisite.

Credits

The banner and icon were designed by Alex Lopez

Reviews

June 17, 2020
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.
September 1, 2019
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!!
January 25, 2019
This Plugin Work with My WP.5 version with fine and easy to customize and i work with some sliders those are also can apply. Good Extension Recommended.
July 8, 2017
Good execution, only the categories get messed uo with no perfect syncro, beside that all was good.
Read all 17 reviews

Contributors & Developers

“WPML to Polylang” is open source software. The following people have contributed to this plugin.

Contributors

“WPML to Polylang” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “WPML to Polylang” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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