Add more languages and enable language switching

Ready for review -- Last peer review: 6 Jul 2013

Being able to have content in different languages is very important for websites because it allows for more people to use them. This lesson will teach you how to add more languages to your Drupal site and allow its users to switch languages. It also shows you how to download the latest translation files from

  • Install the latest version of Drupal 8
  • Enable the modules under the multilingual section (Go to Administration -> Extend to see the list of enabled modules).

1: Add a language

  • Go to Administration -> Configuration -> Regional and language -> Languages
  • Click Add language
  • Select the language you want to add from the drop down and then click save. Spanish will be used in this example.

2: Add translations from

  • Go to and download .po file for the language you just added.
  • Go to Administration -> Configuration -> Regional and language -> User interface translation, Import tab and upload the downloaded file. If the language of the file is not recognized, select the appropriate language from the dropdown and click save.

3: Enable language switching

  • Go to Administration -> Structure -> Block layout
  • Click "+language switcher", which is on the right sidebar.
  • Save the following form with its default values.
  • Enable the Language switcher block by specifying where on the page it should go.
  • Navigate to the homepage and there will be an option to switch the site's language.

Congratulations! Your site now has the option to switch languages.


- admin/config/regional/languages
- select language from dropdown menu
- import another po file from l.d.o
- save

is not really correct, right now it should be:
- admin/config/regional/languages
- select language from dropdown menu
- save
- go to admin/config/regional/translate
- save a po file /Users/ctheys/Downloads/save po file.png from l.d.o (
- go to the import tab admin/config/regional/translate/import
- select the file
- import

but, soon, the translation file should be imported automatically and the bit after === will not be needed

Update status: 
Needs revision