How To Install drupal7-entity_translation on CentOS 7

In this tutorial we learn how to install drupal7-entity_translation on CentOS 7. drupal7-entity_translation is Allows entities to be translated into different languages

Introduction

In this tutorial we learn how to install drupal7-entity_translation on CentOS 7.

What is drupal7-entity_translation

Allows (fieldable) entities to be translated into different languages, by introducing entity/field translation for the new translatable fields capability in Drupal 7. Maintained by the Drupal core i18n team. This project does not replace the Internationalization (http enabling a full multilingual workflow for site admins/builders. Some features, e.g. content language negotiation or taxonomy translation, might overlap but most of them are unrelated. This package provides the following Drupal modules * entity_translation * entity_translation_i18n_menu (requires install of drupal7-i18n) * entity_translation_upgrade

We can use yum or dnf to install drupal7-entity_translation on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install drupal7-entity_translation.

Install drupal7-entity_translation on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install drupal7-entity_translation using yum by running the following command:

sudo yum -y install drupal7-entity_translation

Install drupal7-entity_translation on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install drupal7-entity_translation using dnf by running the following command:

sudo dnf -y install drupal7-entity_translation

How To Uninstall drupal7-entity_translation on CentOS 7

To uninstall only the drupal7-entity_translation package we can use the following command:

sudo dnf remove drupal7-entity_translation

References

Summary

In this tutorial we learn how to install drupal7-entity_translation on CentOS 7 using yum and dnf.