Easy and fast way to add new language to Your site

Public

Let's say that You want to add Spanish language to Your site.

First of all You need to download end enable following modules:

Get raw version
bash
  1. drush dl drush_language
  2. drush dl l10n_update && drush en -y $_

And now let's add Spanish language and download translations for drupal core and contributed modules:

Get raw version
bash
  1. drush language-add es && drush language-enable $_
  2. drush l10n-update-refresh
  3. drush l10n-update

Comments

cosettes's picture

Adding new languages to your Drupal site can be simplified by using an online localization tool like https://poeditor.com, especially with its API.