[Drupal] How to add language support to drupal 7?
Drupal core itself has language support handling in at multiple levels. But If you need multilingual support on your site, locale module provides a user interface on top of basic language configuration.In this article I am going to explain how to add language support in a drupal 7 site.
The steps to be followed are:
- Step 1:Enable 'locale' module.
- Step 2: Go to Administration -> Configuration -> Regional and language page. By default, the language for drupal is English. If you want to add your own language, you need to click add language options.
- Step 3: Under the 'select options' , you could see different number of languages. Once you select any language, it will list on the language page where you can set it as default to your site.
Drupal can determine which language has to be displayed to the user by detection methods. In DETECTION and SELECTION tab under User interface text language detection have different types of detection methods. The interface language can be determined based on URL information (path, domain), session data, user setting, browser preference or can fall back on the default. If translation of user interface text is available in the detected language, it will be displayed.