This is a guide for WordPress developers who are building multilingual sites. It explains how to use WPML to translate the site as you are building it.
- Installing and configuring WPML
- How to translate pages, posts and custom posts
- Translating without WPML’s Translation Management
- Translating other site content
Start by installing the main WPML components:
- WPML Multilingual CMS (the core plugin)
- String Translation
- Translation Management
- Media Translation
They are available from your account’s downloads page. Please note that WPML Multilingual Blog account type does not provide access to String Translation and Translation Management components.
Please read the installation instructions if you need help.
When you first activate WPML a setup wizard will help you specify the essential settings required to prepare your site for multilingual content.
Follow the wizard to:
That’s it! Your site is now ready to translate content.
If you are using WPML’s Translation Management, go to the WPML → Translation Management page to send content for translation. The first time you visit the Translation Management, WPML will walk you through a quick setup wizard.
If you are the only person translating the site’s content, you can translate posts and pages by clicking the plus and pencil icons, next to content you can translate. You will see these icons in the list of pages and in the “Language” box when editing content.
This is what the different icons mean:
|The content is not yet translated||Create a new translation and start editing it|
|The content is already translated, and the translation is up-to-date||Edit the existing translation|
|The content is translated, but the translation needs updating||Edit the existing translation|
|The content is translated, but the translation needs updating, and a new translation is already in progress||Further action is not possible because a translation is already in progress|
Besides posts and pages, there are other elements that you will want to translate. This includes front-end texts coming from your theme and plugins, menus, widgets, and more.
Again, you can send these types of content for translation to others, or translate it directly by yourself.
|Go to WPML → Taxonomy Translation to translate tags, categories and custom taxonomy.|
|You can manually add translations of custom fields directly on the Post Edit screen of the translated post. Go to WPML → Settings → Custom Fields Translation to choose which fields will appear in WPML’s Translation Editor.|
|WPML Media Translation allows you to translate images and other media, when you’re using WPML Translation Management.|
|Use WPML to show different menus for each language. Set up different menus manually or automatically synchronize the menu content.|
|Use the String Translation module to translate standard WordPress widget texts as well as texts from custom widgets registered by your theme or plugins.|
|Edit the permalink directly to translate page names appearing in URLs, and use Translation Management settings to translate slugs of custom post types.|
|WPML lets you translate the texts that come from the theme and plugins that are running on your site. This way, if themes and plugins are missing some translations, you can add them using the String Translation module.|
|You can choose any string in the WP_Options table and make it translatable via WPML. Then, translate these strings using the String Translation module.|
|WPML offers support for the popular e-commerce plugins:|
|For Gravity Forms, use Gravity Forms Multilingual. For other form plugins, you’ll need to create separate forms for each language. For an example, see how to translate Contact Form 7 forms.|
|When you build custom elements for a multilingual site, you will need to translate them. Read the guide on developing custom multilingual sites to see what WPML offers.|