Along with WPML, we also maintain several related projects, which allow other kinds of sites to run multilingual.
The “Migrate Polylang to WPML” plugin makes it easy to move sites form Polylang plugin to WPML. It migrates the language information for posts, pages, custom post types and taxonomies.
Of course, you need to have a WPML account to migrate to WPML. The Multilingual Blog account will work for most sites coming from Polylang. To enjoy all the features of WPML, you should get the Multilingual CMS account, which includes String Translation and Translation Management.
If your sidebar widgets are localized with Polylang and you want to migrate their settings, you need to install the free WPML Widgets plugin. This optional extension will allow you to migrate widgets settings in different languages. Also, you need to install the Migrate Polylang to WPML plugin.
Downloading “Migrate Polylang to WPML” Plugin
To download it, go to Migrate Polylang to WPML on Github and get the latest release (on top of the list). In the Downloads section choose the format that you prefer (zip or tar.gz).
Once downloaded, you can upload the migration plugin to your WordPress site like any other plugin: Go to Dashboard > Plugins > Add new > Upload plugin and choose downloaded archive.
You must disable Polylang before initiating the WPML migration process. Attempting to activate WPML while Polylang is active will lead to a WordPress fatal error. So please remember to deactivate Polylang, before activating all the plugins mentioned in the Requirements section.
Migration step 1: Database Backup
The migration process modifies global site settings and updates the language information of all the content in your site. You should definitely create full backup of your database before starting the migration process (even if you already did it successfully on other sites).
There are several great backup plugins and you can also take a DB snapshot from your hosting control panel.
Migration step 2: Complete the WPML Wizard
When you activate WPML, you will see a message requesting you to complete the WPML Installation Wizard. This is the standard WPML plugin installation wizard displayed to every WPML user, not only those who are migrating from Polylang. Please follow the wizard’s on-screen instructions. Remember to select the same languages you selected in Polylang. The migration plugin will display tooltips reminding you which settings you have chosen for Polylang:
Migration step 3: Initiate the Migration
Go to Dashboard > Tools > Migrate from Polylang to WPML, tick the “I confirm that I’ve created database backup” checkbox to confirm that you have backed up your database (see step 1 above) and click on the Migrate button.
Important: Do not close this page until you see the message stating that migration is completed. This might take a few minutes depending on the content size of your Website.
Review Your Site and Check that the Migration Went Smoothly
When the migration process is complete, check if everything is working as expected:
- The posts are in the correct languages.
- The language switcher is redirecting to correct translations.
If something went wrong while migrating, please report it at our support forum . If something got stuck during the migration process, you can run it again. Migration will only process content that wasn’t processed yet.
You will have the option to drop remaining Polylang data after the migration. We strongly recommend that you postpone dropping Polylang data process for few days or weeks. Remember that deleting Polylang database content is an irreversible process. In case you notice that something went wrong, you will not be able to redo the migration once the Polylang database is deleted.
Handling Different URL Structures
Polylang always redirects from the site’s root (example.com) to the default language folder (example.com/en/). WPML displays the default language in the root URL. If there are any links to the default language’s folder, we recommend that you add a server redirect from it to the site’s root.
Follow these steps to add a 301 redirect using .htaccess:
- Connect to your WordPress site using an FTP program and download the “.htaccess” file, which is located in the WordPress root folder.
- At the end of the file add this line:
RedirectMatch 301 /en/$ http://example.com/index.php
(replace “en” with slug of your default language and “example.com” with URL to your site)
- Upload this file again on your server.
Finally, Deactivate the Migration Plugin
The Migrate Polylang to WPML plugin is only needed for the migration process. Once you’re done, you should deactivate it. You can also remove from the ‘plugins’ directory of your site.
In case you are encountering any issues with the migration process, please open a ticket at our support forum.
Toolset makes it easy to add custom types, fields and taxonomy to any WordPress site, running any theme. With Toolset, you will add custom types to the WordPress admin and display them on the front-end, without writing any PHP.
Using custom types and fields, you can develop rich sites that are simple to maintain. While it’s relatively easy to add custom types to the WordPress admin, displaying them on the front-end can take a lot of work.
Toolset makes this painless, by allowing you to display custom content on the front-end, without writing a single line of PHP.
You will be able to design:
- Templates for single-item pages
- Archive pages (critically important for your site’s SEO)
- Custom lists of content, anywhere in the site
Jump directly to...
WooCommerce Multilingual makes it easy to run multilingual e-commerce sites with WooCommerce and WPML. The plugin streamlines the translation process, so that you only need to translate the texts. Translations for products, categories and variations are created automatically for you.
Using Gravity Forms with WPML
In this short tutorial we’ll show you how you can translate forms created by Gravity Forms using WPML.
Why translate forms
You can use any contact form plugin and simply create different forms, per language. So, what’s the benefit in translating the same form to different languages?
The reason is convenience.
Setting up a form may be a complex process. Often, you may want to include logic for notifications, validation and other “behind the scenes” settings. Additionally, it’s often easier to insert a single “contact us” form into your content, without having to worry about what form in which language you are inserting.
WPML lets you create one set of forms with Gravity Forms, in your language. Then, you only need to translate the texts that appear in the forms and WPML will display the form in the right language. It’s the same form and any changes you do on it will apply instantly to all languages.
Ready? Let’s get started!
Use BuddyPress plugin with WPML to make your social network multilingual.
BuddyPress is a powerful WordPress plugin that let’s you transform or add to your web site, a social network, transforming WordPress users into network members, creating groups, having activity stream and much more. BuddyPress Multilingual 1.5 allows BuddyPress sites to run multilingual using the WPML plugin. In this short tutorial I’ll show you what is expected when using a BuddyPress Multilingual powered site.
A few weeks ago, we reached out to our clients for help in finding solutions to import multilingual websites. We received positive replies from many people, and we immediately started working on this.
Today, we are happy to say that we can offer our clients a stable way to import content between WPML-driven websites. We worked closely with the WP All Import development team and rewrote the WPML All Import add-on.
This WooCommerce extension lets you choose which payment gateways to display for different countries, as determined by the customer’s billing address.
Some payment options (gateways) are only available to clients in specific countries. The Internet has turned the world into one global village, but still, many payment options are limited by country. These limitations are due to tax reasons, billing infrastructure, currencies, and what have you. No matter what the reason is, WCGCL will let you choose which payment gateways to offer for clients in different countries.
Limiting payment gateways per country
After you install and activate this extension, all checkout options are available to all countries as before. Then, you can choose the availability of different payment options, for different countries.
Go to WooCommerce->Settings and click Checkout tab.
Now, click on the link with the name of the payment gateway that you want to limit to specific countries.
WooCommerce Views allows adding e-commerce functionality to any site, running any theme, using WooCommerce plugin. It lets you build a complete e-commerce section, without having to dive into the complex WooCommerce template system.
WooCommerce Views works with Views plugin, letting you create websites from within the WordPress admin. You’ll be able to design product templates and build complex product listings. It augments Views plugin by adding the special fields for WooCommerce functionality.
Once you activate WooCommerce Views, you will be able to insert fields such as ‘product payment’, ‘product image’ and anything else needed to build an e-commerce site.
Everything that you build with WooCommerce Views is fully multilingual ready, making it the easiest way to build multilingual e-commerce sites.
qTranslate is another plugin for multilingual WordPress. It works much differently from WPML. Instead of having different languages in different posts, qTranslate places all languages in the same post.
This importer tool splits the content of different languages to different posts, allowing your site to run with WPML.
The plugin is available from the WordPress plugins repository:
Single-Language Conversion (no WPML, strip all translations)
If you’re using the qTranslate Importer plugin without WPML, the output will be a site with just one language. The conversion process will ask you which language you want to maintain. All other languages will be deleted from the site.
This is useful if you’ve been experimenting with qTranslate and now you want to clean the database from all those language meta-tags.
At the end of the processing, all posts will have just the one language that you choose.
Why do I need the Multilingual Tools plugin?
The Multilingual Tools plugin can help theme and plugin developers to test their products’ multilingual capabilities. It will automatically add language code or custom notices to translated content, allowing the developer to review what is working correctly and what requires modification to be translated.
Create a fully multilingual e-commerce site for selling digital products with Easy Digital Downloads and WPML. This makes products and stores translatable, lets your visitors quickly and easily switch languages and order products in their own language. Follow this tutorial to find out how you can do it.
To get started you’ll need to install some plugins:
- A recent version of Easy Digital Downloads
- A recent version of EDD-multilingual
- WPML 2.6.1 and above
- The String Translation module activated