03. Adding user interface languages

Last modified: September 18, 2007 - 11:10
  1. Under Administer > Site configuration, choose Localization. The List screen will be shown, and for a new installation only English will be listed. Choose Add language.
  2. 02AddLanguage

  3. From the pull down menu, choose the language name for the language you want to add and click Add language. Languages are added one at a time, so repeat this step for each language you want to add. This process creates containers for the actual user interface translations.
  4. When you have setup all language containers, click the Import tab. Browse to a Drupal core .po file that you downloaded earlier. Then assign the correct language to it. (Note that language names for languages you have already added are shown at the top of the list in the pull down menu.) For Mode, select Strings in the uploaded file replace existing ones, new ones are added and click Import.
  5. 04ImportStrings

  6. It is probably best at this point to make sure the process is working correctly. Click on List under the Localization main menu. You should now see the newly added language along with English.

    03ImportLanguage

    Make sure the new language is enabled, and temporarily set it to the default language. When you click Save configuration, the user interface for the site should be shown in the new language. (You may want to change it back to English to continue following these instructions.)

  7. 05CheckLanguage

  8. Repeat these steps for each desired language. Note that if you import .po files for modules other than Drupal core, these should be done after the Drupal core .po files have been added. Also, when adding such non-core .po files, you should select Existing strings are kept, only new strings are added under Mode.
 
 

Drupal is a registered trademark of Dries Buytaert.