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)

Appendix A. Modules, Resources, and Getting Involved

Here are some of the great resources available for creating your multilingual Drupal 7 website. The modules used for the book exercises are listed with their permissions and project pages. There is also a list of additional modules that you might want to try out as well as community documentation and support groups to get your questions answered. We'll also take a look at how you can get involved in the Drupal community and what's in the works for Drupal 8 improvements. Don't forget to check the Drupal glossary at drupal.org/glossary if there are any Drupal words that you aren't familiar with.

Modules used in the book

Even with only about 50 multilingual Drupal 7 modules, it would take more space than we have in this book to explain each one. This section lists the modules covered in the book exercises, while additional multilingual modules are split out in another section.

The modules given are grouped alphabetically within the chapters where they are discussed. The following descriptions are intentionally brief. If you want more information about a module, its drupal.org project page has been provided for reference.

Note

The module versions used are listed on the demo installation profile page (drupal.org/project/multilingual_book_demo). Also, module names have been standardized to use proper name casing as per the new Drupal policy (drupal.org/node/1346158).

Chapter 2

  • Contact Translation: Allows you to create multilingual site contact forms via the Contact module. Project page: drupal.org/project/i18n. Permissions: administer contact forms, access site-wide contact form.

  • Internationalization: Extends Drupal core multilingual functionality with a collection of submodules, mainly for configuration and translation support. These submodules are listed separately throughout this module list (marked with the same Drupal project URL). Project page: drupal.org/project/i18n.

  • Locale: Adds basic language support and allows Drupal UI translation for languages besides English. Project page: drupal.org/project/drupal (core). Permissions: administer languages, translate interface.

  • Localization Client: Provides a UI tool to fix interface translations and contribute them back to the community. Project page: drupal.org/project/l10n_client. Permissions: use on-page translation, submit

  • Localization Update: Grabs the latest translations for your site from localize.drupal.org or other localization servers. Project page: drupal.org/project/l10n_update. Permissions: translate interface.

  • String Overrides: Provides a simple administration form so that any translatable text on the site can be changed for any language. Project page: drupal.org/project/stringoverrides. Permissions: administer string overrides.

  • Variable Translation: Enables the translation of variables that are exposed via the Variable module such as the site's name and slogan. Project page: drupal.org/project/i18n. Permissions: administer site configuration.

Chapter 3

  • Content Translation: Adds the ability to flag content types as translatable, so that content of those types can be handled using the node translation model. Project page: drupal.org/project/drupal (core). Permissions: Translate content.

  • Entity Translation: Provides a UI for translating entity fields into multiple languages using the field translation model. Project page: drupal.org/project/entity_translation. Permissions: translate any entity, administer entity translation, toggle field translatability.

  • Multilingual Content: Extends the content type and system multilingual settings with some helpful options such as making language selection required for nodes. Project page: drupal.org/project/i18n. Permissions: administer site configuration, administer content translations.

  • Multilingual Select: Allows for core node listing pages to be filtered by language such as the default home page and the taxonomy pages. Project page: drupal.org/project/i18n. Permissions: administer site configuration.

  • Synchronize Translations: Keeps data synchronized across translated nodes for fields that should be the same for all languages. Project page: drupal.org/project/i18n. Permissions: administer site configuration.

  • Title: Creates a "real" title field for entities so that, when using field translation, titles can be translated like other fields. Project page: drupal.org/project/title. Permissions: administer site configuration.

Chapter 4

  • Block Languages: Adds language options to the block visibility settings and provides support for translating block title and body content. Project page: drupal.org/project/i18n. Permissions: translate interface.

  • Field Translation: Despite the name, this module supports translating field settings such as labels and help text rather than field values. Project page: drupal.org/project/i18n. Permissions: administer site configuration.

  • i18n Page Views: Extra options for Views displays, so that paths can be specified for multiple languages. Project page: drupal.org/project/ i18_page_views. Permissions: Administer views.

  • Internationalization Views: Adds Views multilingual support such as allowing header, footer, and empty text to be translated. The project is Internationalization Views but the module it provides is called Views Translation. Project page: drupal.org/project/i18nviews. Permissions: translate interface, administer views.

  • Menu Translation: Allows for language-specific and translated menus. Project page: drupal.org/project/i18n. Permissions: administer menu.

  • String Translation: Leveraged by other modules for translating user-defined strings. Project page: drupal.org/project/i18n. Permissions: translate interface, administer site configuration, use on-page translation.

  • Taxonomy Translation: Provides a number of options when configuring taxonomy vocabularies such as language-specific vocabularies and translatable terms. Project page: drupal.org/project/i18n. Permissions: administer taxonomy, translate interface.

Chapter 5

  • Path Translation: Provides a mechanism to specify paths that are in a translation set which can be used for non-node pages such as the ones from Views or Panels. Project page: drupal.org/project/i18n. Permissions: administer site configuration.

  • Panels: This isn't a multilingual module, but multilingual panel pages are discussed in this chapter. Project page: drupal.org/project/panels. Permissions: use panels dashboard, administer page manager, administer site configuration.

  • SEO-related modules: These are not multilingual modules, but several Drupal 7 SEO modules are covered in this chapter, including the following:

    • Global Redirect: drupal.org/project/globalredirect

    • Meta Tags: drupal.org/project/metatag

    • Meta Tags Quick: drupal.org/project/metatags_quick

    • Page Title: drupal.org/project/page_title

    • Pathauto: drupal.org/project/pathauto

    • Redirect: drupal.org/project/redirect

  • Translation Redirect: Helps with SEO by ensuring search engines are redirected to the appropriate translated pages. Project page: drupal.org/project/i18n.

  • Transliteration: Replaces special characters in strings with Roman characters for cleaner URLs and filenames. Project page: drupal.org/project/transliteration. Permissions: administer site configuration.