- 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
If you create new page, page is automatically assigned to the language selected in the top WordPress bar, or you can manually select language of page from sidebar:
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:
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.
Fill out all information about page in another language and publish this new page.
In the list of your pages you can see present translation of page marked with pencil icon image, with click on this pencil icon you can edit translation of page:top
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
If you have created post categories for each language, post created for specific language may be assigned to categories created for the same language.
Examples how the post in two languages may be assigned to categories in two languages created in previous example:
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: