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)

Nodes


For the majority of Drupal websites, most content exists in nodes. These nodes come in different shapes and sizes as defined by a node's content type. The information, if any, that needs translating for a particular node depends on how the content is used, so there is no cookie-cutter formula for creating multilingual nodes. You will need to decide how to deal with translation for each and every content type. In this section, we will go over the different approaches for multilingual node content. We will work with concrete examples to help you figure out the methods to implement on your own site.

Enabling multilingual support

For the exercises, it's useful to have a few content types to work with. If you are using the demo website, you have several to choose from including Article, Blog entry, Basic page, and Drupal Book.

The first three are pretty self-explanatory. Drupal Book is a custom content type for displaying a particular Drupal book title. For simplicity, Drupal Book nodes...