Here is what you need to know on turning Identity multilingual with WPML.
First, you need to to purchase a recent version of WPML
, including the String Translation
and Translation Management
1) 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.
2) 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.
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.
Read this to easily duplicate your existing content.
Translating custom post types and taxonomies
identity 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 synchronize 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.
The transcript is an excerpt from Seventh Queen’s website