Earlier, we enabled translation for our pages, so let's walk through the translation process itself:

1. Make the Introduction to the Knowledge Base in English. Go to Create contents-Book page, fill in the fields as shown in Table 8-4, and click Save.

Table 8-4. Book page content



Menu settings

• Language Body

Book outline



Knowledge Base <Primary Links> English

This knowledge base is a place to organize useful information. Anyone with a Migratory Patterns account can add to this book! You may create a new page by clicking the "Add child page" link at the bottom of any existing KB page or by going to Create content^Book page in your navigation block.

<create a new book>

2. After you save the content, you will see that there is a Translate tab next to the normal View, Edit, and Outline (for book content) tabs. Click the Translate tab and you will be presented with a table listing all of your site's enabled languages, which you can see in Figure 8-23.

Figure 8-23. The Translate tab on a book page, showing available languages and translation status

3. Click "Add translation" for a language, and you will be presented with a screen containing the form values that were previously submitted. You may now edit the text for the Title, Menu, and Body. Notice the language is already selected for you. Translate the text into the selected language, and remember to again choose "<create a new book>" in the "Book outline" section as well so that this translated introduction page will also be a top-level book entry for those viewing the site in this language.

4. When you click Save for this new translation page, you will see that there is now a link at the bottom that will take you to the other language's version of the page.

You should do the same for the Welcome post on the front page (if you are using the Multilingual profile) or any other content that was created prior to enabling content translation. Just edit the existing post to select the language and use the Translate tab to add versions for other languages as we did previously.

® - Keep in mind that the default language setting for all content is "Lan guage neutral." You must identify the content with a language in order " v i-gt* to see the "Translate" tab and proceed with creating translations. If you do not set a language when initially creating the content or if you have enabled the Content translation module after already creating content, that content will be set to "Language neutral."

When you create a translation for any content that is on the front page of the site (like the Welcome post in the profile), you will notice that both translations appear. The same thing is happening for our Knowledge Base menu items, as you can see in Figure 8-24. We're going to address that issue in the next section.

Figure 8-24. Duplicate items—one for each language
0 0

Post a comment