Skip to content

Localization support for Indian Languages Documentation

ashutoshupreti edited this page Jun 24, 2017 · 1 revision

Modules used for implementing the translation are :

1. Locale : This module helps us to localize and enable, Multi-Lingual Content in the system. Using this module translation can take place local to the system without any of internet. The site interface can be displayed in different languages, as well as nodes can have languages assigned.

Configuration : This module is available in the core of the system. It gives two new features Language and Translate interface in configuration.

For adding languages - Goto Configuration -> Regional and Language -> Language List of language available to be added in the system are –

  • Assamese
  • Bengali
  • Bihari
  • English
  • Gujarati
  • Hindi
  • Kannada
  • Kashmiri
  • Malayalam
  • Marathi
  • Nepali
  • Oriya
  • Punjabi
  • Sanskrit
  • Tamil
  • Telugu

2. Title : This module is use for translating the title of a content. It provides an option called “replace” at “Structure->Content types->Articles-> Manage field” for translating node titles to the Field API in order to make nodes fully translatable.

Dependency module: System (a core module of Drupal)

3. Entity Translation: This module is used for translating a content and store that translation in the form of revision for each of the content. In this system each piece of content consists of a single node, but each field on the node can have multiple copies(revision), in different languages, all attached to the same node.

Configuration : Goto Configuration -> Regional and Language -> Entity Translation Enable – “Enable translation workflow permission “ Select Translatable Entity Types as – “Nodes”, “Taxanomy” Select default language for Articles as – “English”

Dependency module : Locale

4. Internationalization : This module is use for translating not only the content of the fields, but also the field labels and description. This module contain a number of sub modules which provides various functionalities to translation. We need to enable the Field Translation” module form the sub module section. This module fills the gaps that still exist in locale module.

A few of the important features which the Internationalization module are:

  • A proper multilingual menu system
  • Multilingual blocks
  • Multilingual taxonomy

Dependency modules : Variable, Locale

Configuration : Goto Structure -> Content types -> Edit “Article” Select “Publishing options” -> Select “Enable with field translation”

5. Localization Update: It automatically downloads and updates our translations by fetching from localize.drupal.org. When a new module is installed all the translation of string for that module is downloaded by this module. This module takes care of update require for all translation.

Dependency module : Locale

6. Language Icons: This module adds icons to language links.

Dependency module : Locale