Kristen Pol - Drupal 7 Multilingual Sites


Kristen Pol - Drupal 7 Multilingual Sites

Drupal 7 Multilingual Sites

Год: 2012

Автор: Kristen Pol

Издательство: PACKT Publishing

ISBN: 978-1-84951-818-5

Язык: Английский

Формат: PDF

Качество: Изначально компьютерное (eBook)

Интерактивное оглавление: Да

Количество страниц: 140

Описание: In Detail

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.


A practical book with plenty of screenshots to guide you through the many features of multilingual Drupal.

Who this book is for

Any Drupal users who know the basics of building a Drupal site and are familiar with the Drupal UI, will benefit from this book. No previous knowledge of localization or internationalization is required.


Chapter 1: Multilingual Overview, Use Cases, and Modules

Considerations and use cases

Different types of language support

Some things to think about

Example use cases

Simple blog site

Consulting company site

E-commerce site

Our demo site

Multilingual Drupal overview

Speaking the same language... terminology

Pieces of the multilingual puzzle




A look at the modules


Chapter 2: Setting up the Basics: Languages, UI Translation, and System Settings

Getting up and running

Using your own site

Using the demo site

Roles, users, and permissions

Working with languages

Adding languages with the Locale module

Detecting languages






Detection method order

Our choice

Switching between languages

Interface and string translations

Translating the interface

Automatic translation updates

Adding and fixing interface translations

Contributing translations back to the community

Translating English strings

Modifying the settings.php file

Using the String Overrides module

Creating a custom English language

Reusing custom translated strings

General system configuration

Updating regional settings

Date and time formats

Translating site variables

Customizing the contact form


Chapter 3: Working with Content


Enabling multilingual support

Node translation model

Configuring node translation

Synchronizing shared fields

Extra content type options

Field translation model

Configuring field translation

Using the language switcher

Non-node entities


Language assignment

Comment display


Taxonomy terms

Custom entities

Node listing and search pages

Home page

Taxonomy term pages



Chapter 4: Configuring Blocks, Menus, Taxonomy, and Views


Language-specific blocks

Translating blocks

Blocks provided by modules


Language-specific menus

Multilingual menus

Node pages

Pages with the same link

Pages with different links

Taxonomy terms

Taxonomy translation module

Language-independent terms

Language-specific terms

Localized terms

Mixed-language vocabulary

Updating the field label


Multilingual views

Language-specific views

Nodes using field translation

Non-node views


Taxonomy terms


Views text


Chapter 5: Panels, SEO, and More!


Panel panes

Language-specific panel pages


Multilingual and international SEO

Friendly URLs

Removing special characters from path aliases

Page title and meta tags

Meta Tags module

Meta Tags Quick module

Page Title module

Home page optimization

Duplicate pages

Translation management and workflow

Who can translate?

Content administration

Contributed modules

Lingotek Collaborative Translation module

Translation Management Tool module

Custom workflow

Theming and module development

RTL support

Interface and content languages

Custom CSS

String translation functions


Appendix: Modules, Resources, and Getting Involved

Modules used in the book

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Module usage

More multilingual modules




Admin tools

Finding multilingual modules

Community resources

Groups, forums, and IRC

Documentation and guides

Articles, videos, and more

Getting involved

What's up for Drupal 8?

Want more?