Book Image

Drupal 7 Multilingual Sites

By : Kristen Pol
Book Image

Drupal 7 Multilingual Sites

By: Kristen Pol

Overview of this book

Drupal is one of the most powerful and popular PHP Content Management Systems at the moment. By making your site multilingual, you are opening the door to a whole new user base, in as many countries as you like. Use the localization and internationalization features of Drupal 7 to automatically detect where your site users are visiting from and select the content appropriate to them. The world is your oyster!Drupal 7 Multilingual Sites guides you through the wild world of localization and internationalization with practical and real-world exercises that you can apply to your own website. You will go from theory to practice and acquire the skills you need to make a user-friendly Drupal 7 site that supports multiple languages.You will follow focused chapter exercises to add multiple-language support for your user interface, content, and various parts of your site's configuration such as system variables, menus, and blocks.The latter half of the book fills in the details with step-by-step exercises for localizing the interface, the content, and the configuration. Drupal 7 Multilingual Sites will give you the knowledge and the skills necessary to configure your site to support your language needs.
Table of Contents (13 chapters)

Node listing and search pages


As you have been clicking around your site, you might have noticed something odd. On pages with lists of content such as the default home page and taxonomy term pages, content is shown in all languages. In this section, we will fix this issue as well as look at language support for core search functionality.

Home page

If you are using the demo site or a site built from scratch, you start off with the default home page provided by Drupal (/node). To get the home page to show nodes based on language, install the Multilingual Select module from the Internationalization package (drupal.org/project/i18n). Now when you change languages, you'll only see language-neutral nodes and nodes in the chosen language. The module can be configured at Configuration | Regional and language | Multilingual settings | Selection.

Note

At the time of writing, the Multilingual Select module doesn't handle nodes that have been translated using the field translation model (drupal.org/node...