Displaying a language switching block for end users

In the previous recipes of this chapter we have seen how to configure the site and its content types for translation. However, we have not provided the users with a mechanism for switching language. In this recipe, we will enable the language-switching block so that end users can easily switch to their language of choice.

Getting ready

This recipe requires that you first complete the previous recipe, adding translation functionality to a content type.

How to do it...

In this recipe we are simply going to enable and select a region for the language switching block:

  1. Select Structure from the admin menu, then select Blocks.
  2. Find the Language switcher block and set its REGION to Header.
  3. Click on Save blocks ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.