Skip to main content
Website translation Drupal

Prepare your Drupal website

Prepare your website for multilingual content by adding available languages, specifying translatable content types, and adding a language switcher before configuring the module.

Add translation languages

To add the translation languages:

  1. Access your Drupal administrator dashboard.
  2. Navigate to Configuration > Regional and language > Languages.
  3. Click Add language.
  4. Choose the desired language from the dropdown and click Add language.
  5. The newly added language will appear in the language list.

add languages 1 add languages 2 add languages 3 add languages 4 add languages 5

Configure translatable content

Determine which content types will be translated: pages, comments, custom blocks, taxonomy terms, and user accounts. For each selected content type, specify which subtypes or fields should be translated.

To configure translatable content:

  1. Navigate to Configuration > Regional and language > Content language and translation.
  2. Select the desired content types for translation from the list.
  3. Go through the table and enable Translatable at the start of each row.
  4. Save your changes by clicking Save configuration.

configure translatable content 1 configure translatable content 2 configure translatable content 3 configure translatable content 4

Add language switcher

To add language switcher to page:

  1. Navigate to Structure > Block layout.
  2. Choose a desired placement (header, footer, primary menu, etc.) and click Place block.
  3. Find the Language switcher block and click Place block.
  4. Customize the block by adjusting the title, visibility, and languages.
  5. Click Save block.

add language switcher 1 add language switcher 2 add language switcher 3 add language switcher 4 add language switcher 5

The language switcher will appear on your webpage in the chosen location.

add language switcher 6