Reach more clients by enabling multiple languages on your site
Having a site available in more than one language is a great addition and provides more confidence to your business.
Get started in a few steps
- First, you need to to purchase a recent version of WPML, including the String Translation and Translation Management modules
- Install and activate the core WPML plugins (WPML Multilingual CMS, WPML String Translation, WPML Translation Management), and then other WPML plugins that may depend on them.
- Set up WPML from WPML->Languages. See WPML Getting Started Guide for complete reference, but the initial simple three-step setup is self-explanatory, asking you to choose your default language, a set of active languages, and a language selector.
If you are running a website with BuddyPress, you need to make sure BuddyPress Multilingual plugin is also activated.
NEW Translation Mode – starting with WPML 3.9
WPML introduces a new translation mode called – display as translated. This is already compatible with typer and you can start using it.
About the ‘display as translated’ feature:
- Users can show original content if no translation is available.
- Users can display untranslated content without the need to duplicate it anymore.
- Useful for sites that don’t need to translate everything: listing, directory and membership sites as well as WooCommerce products and taxonomies.
Let’s say we have a WooCommerce site in French and we don’t want to translate all the products to English. Thanks to this new mode, we can have our page translated to English but still containing some content in French without duplicating it:
To sum up:
- If the translation exists = it will display the translation.
- If the translation does not exist = it will display the post in the site default language.
How to enable this new translation mode for the post types of your choice:
- Go to WPML > Translation Management > Multilingual Content Setup
- Scroll down to Post Types Translation
- Select “Translatable – use translation if available or fallback to original language” option for the post types of your choice.
Translating WPBakery Page Builder Content
For a better translation experience with contents created using WPBakery ( Visual Composer ), activate WPML Translation Editor. To do this go to the WPML -> Translation Management page and click the Multilingual Content Setup tab. There, check the Use the translation editor option in the How to translate posts and pages section and click on Save.
Follow this link to learn more about translating pages built with WPBakery page Builder: https://wpml.org/documentation/translating-your-contents/page-builders/
Translating Pages, Posts and other post types
To translate a page you need to go to Wp admin – Pages and in the list you will see columns for each active language, with a pencil icon (for ‘edit translation’) or a ‘+’ icon (for ‘add translation’) next to each page. Go ahead and edit or add the translated page for ‘Home Default′.
Right now you just need to translate your page into the new language.
Since version 3.9, WPML also allows you to display untranslated content on pages in secondary languages without duplication. This translation mode does not duplicate the contents in your database and is recommended for sites that have a large numbers of pages you want to display as untranslated, for example products and real estate listings.
Read this if you still want to duplicate your existing content.
Translating custom post types and taxonomies
Typer comes with extra custom post types such as portfolios and testimonials, and custom taxonomies. In order to get a similar interface for translation/duplication as for posts and pages, you need to go to WPML->Translation Management, and select the tab ‘Multilingual Content Setup’.
Translating Menus and Language Switcher in Header
WPML can synchronise menus for you. This means that if some entries, for example some pages, posts or categories, are in the English menu, WPML can generate and keep in synch menus for other languages pointing to the translated versions of these pages, posts or categories.
From WordPress Appearance->Menus you can see your existing menus and add menu translations and synchronize menus across translations.
To show the language switcher in the header you need to activate it from Theme options – Header options.
Translating theme texts and other strings in your site
To translate strings you need to follow the procedure for Theme and Plugin Localization. Go to WPML->Theme and Plugin Localization, and click on ‘Scan the theme for strings’ and you will see theme strings and which ones are translated or not.
Translating Slider Revolution
If you are using Revolution Slider please check out the dedicated documentation that explains how to translate sliders built with Slider Revolution.
BuddyPress Multilingual 1.5 allows BuddyPress sites to run multilingual using the WPML plugin. Learn how to translate your site using BuddyPress thanks to this dedicated documentation.