- how to translate Pages
- how to translate Posts and Custom Post Types
- how to translate Menus
- how to translate Widgets and Widget Areas
Translation of main content which consists of posts, pages and custom post types is managed from the edit page of post type which you want translate.
For example you can manage all translations of pages from list of your created pages, where you can see all translations for each page:
1. Create new page
When you are creating new page, page is automatically assigned to the language selected in the WordPress top bar. If “Show all languages” is selected in the WordPress top bar, page is automatically assigned to the language defined as Default language. You can select language for the new page also manually from Languages options on the right side of screen:
2. Create translation of existing page
There are two ways how create translation of some page in another language:
- You can click on the “+” button under flag in the row of page for which you want create translation:
- You can create translation of any page directly from the edit screen of page for which you are going to create translation, simply click on the “plus” sign beside the flag of new language.
After this, when you click to create new translation of page you are going to “Add New Page” screen where you are creating translation of page for another language.
Fill out all information about page in this language and publish the page.
Posts and Custom Post Types Translation
Steps to translate content of Posts and Custom Post Types are the same as translation of Pages content described in previous part about pages translation.
Additionally for Posts and Custom Post Types you may need translate into each language also Taxonomies (categories to which are posts or custom post types assigned) and Tags.
1. Translate posts Categories
Translation of categories is very similar to translation of pages, you can see all translations of categories in the admin Categories page where are listed categories.
Steps to translate categories of standard WordPress Posts and categories of Custom Post Types are the same, example below describe translation for standard WordPress Post type.
You can add new translation of category with click on plus (+) icon for specific language in the list of all categories, or you can create translation through Edit screen while you are editing some category:
When you’ve created new category in another language, you can specify in edit screen of this new category which category from another language is translation of currently edited category:
2. Translate Posts
Translation of Posts is basically the same process like Page translation, you can follow instructions for Pages. Posts can be assigned to categories which were created for the same language like the language of Post.top
WordPress Menus Translation
For each language version of your website you can create also specific menu.
In main WordPress Menus options you can create for each language new menu. Each created menu may be assigned to Theme Location in another language:
Widgets and Widget Areas Translations
In main Theme Options you can modify names of each created Widget Area or Sidebar, these names of widget areas will be used according to selected WordPress language.
For each widget you can specify language in which this widget will be displayed: